blob: 414d193bc0a68b7100cc5dc26c5d0e8948322a72 [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 "
developer70e02582024-05-03 19:52:37 +080021CFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'wifi_eht', '-DSINGLE_WIPHY_SUPPORT', '', d)}"
developer91f80742022-10-04 15:20:18 +080022CFLAGS_append = " -I=${includedir}/ccsp "
23do_install_append() {
24 install -d ${D}${sbindir}
25 install -m 0755 ${WORKDIR}/build/wifi_test_tool ${D}${sbindir}/wifi
developerc89f4a82022-10-25 13:37:17 +080026 install -m 0755 ${WORKDIR}/git/wmm_script/wmm-*.sh ${D}${sbindir}
developer91f80742022-10-04 15:20:18 +080027}