blob: f9340569e7bc1d113acca890a72d7d4885928381 [file] [log] [blame]
developer91f80742022-10-04 15:20:18 +08001DESCRIPTION = "wifi-test-tool"
2SECTION = "applications"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=fcf339a1c4fb17c1e878859b11a2cdba"
5
6DEPENDS += "libnl-tiny hal-wifi uci"
7
developerc89f4a82022-10-25 13:37:17 +08008FILESEXTRAPATHS_prepend := "${THISDIR}/files/wmm_script:"
developer91f80742022-10-04 15:20:18 +08009inherit autotools coverity
10
11SRC_URI = " \
12 file://COPYING;subdir=git/src \
13 file://src;subdir=git \
developerc89f4a82022-10-25 13:37:17 +080014 file://wmm_script;subdir=git \
developer91f80742022-10-04 15:20:18 +080015 "
16
developerc89f4a82022-10-25 13:37:17 +080017
developer91f80742022-10-04 15:20:18 +080018S = "${WORKDIR}/git/src"
19
20CFLAGS_append = " -DWIFI_HAL_VERSION_3 -DMTK_UCI_SUPPORT -luci "
21CFLAGS_append = " -I=${includedir}/ccsp "
22do_install_append() {
23 install -d ${D}${sbindir}
24 install -m 0755 ${WORKDIR}/build/wifi_test_tool ${D}${sbindir}/wifi
developerc89f4a82022-10-25 13:37:17 +080025 install -m 0755 ${WORKDIR}/git/wmm_script/wmm-*.sh ${D}${sbindir}
developer91f80742022-10-04 15:20:18 +080026}