blob: 99cfb32051c818a39c29af00e0e19da4898bdf91 [file] [log] [blame]
SUMMARY = "Wi-Fi Test Suite Linux Control Agent"
DESCRIPTION = "Wi-Fi Test Suite is a software platform originally developed \
by Wi-Fi Alliance, the global non-profit industry association that brings you \
Wi-Fi, to support certification program development and device certification."
HOMEPAGE = "https://www.wi-fi.org/certification/wi-fi-test-suite"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0542427ed5c315ca34aa09ae7a85ed32"
SECTION = "test"
S = "${WORKDIR}/git"
SRCREV = "f7a8d7ef7d1a831c1bb47de21fa083536ea2f3a9"
SRC_URI = "git://github.com/Wi-FiTestSuite/Wi-FiTestSuite-Linux-DUT.git \
file://0001-Use-toolchain-from-environment-variables.patch \
file://0002-Add-missing-include-removes-unnedded-stuff-and-add-n.patch \
file://0003-fix-path-to-usr-sbin-for-script-and-make-script-for-.patch \
file://0004-run-ranlib-per-library-and-use-AR.patch \
"
# to avoid host path QA error
CFLAGS += "-I${STAGING_INCDIR}/tirpc"
# Fix GNU HASH error
TARGET_CC_ARCH += "${LDFLAGS}"
do_install () {
install -d ${D}${libdir}
install -m 0644 ${S}/lib/libwfa.a ${D}${libdir}
install -m 0644 ${S}/lib/libwfa_ca.a ${D}${libdir}
install -m 0644 ${S}/lib/libwfa_dut.a ${D}${libdir}
install -d ${D}${sbindir}
install -m 0755 ${S}/dut/wfa_dut ${D}${sbindir}
install -m 0755 ${S}/ca/wfa_ca ${D}${sbindir}
install -m 0755 ${S}/scripts/*.sh ${D}${sbindir}
install -m 0755 ${S}/scripts/arp_neigh_loop ${D}${sbindir}
install -m 0755 ${S}/scripts/dev_send_frame ${D}${sbindir}
install -m 0755 ${S}/scripts/sta_reset_parm ${D}${sbindir}
}
RDEPENDS_${PN} = "wpa-supplicant"