developer | 91f8074 | 2022-10-04 15:20:18 +0800 | [diff] [blame] | 1 | DESCRIPTION = "wifi-test-tool" |
| 2 | SECTION = "applications" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fcf339a1c4fb17c1e878859b11a2cdba" |
| 5 | |
| 6 | DEPENDS += "libnl-tiny hal-wifi uci" |
| 7 | |
developer | c89f4a8 | 2022-10-25 13:37:17 +0800 | [diff] [blame] | 8 | FILESEXTRAPATHS_prepend := "${THISDIR}/files/wmm_script:" |
developer | 91f8074 | 2022-10-04 15:20:18 +0800 | [diff] [blame] | 9 | inherit autotools coverity |
| 10 | |
| 11 | SRC_URI = " \ |
| 12 | file://COPYING;subdir=git/src \ |
| 13 | file://src;subdir=git \ |
developer | c89f4a8 | 2022-10-25 13:37:17 +0800 | [diff] [blame] | 14 | file://wmm_script;subdir=git \ |
developer | 91f8074 | 2022-10-04 15:20:18 +0800 | [diff] [blame] | 15 | " |
| 16 | |
developer | c89f4a8 | 2022-10-25 13:37:17 +0800 | [diff] [blame] | 17 | |
developer | 91f8074 | 2022-10-04 15:20:18 +0800 | [diff] [blame] | 18 | S = "${WORKDIR}/git/src" |
| 19 | |
| 20 | CFLAGS_append = " -DWIFI_HAL_VERSION_3 -DMTK_UCI_SUPPORT -luci " |
| 21 | CFLAGS_append = " -I=${includedir}/ccsp " |
| 22 | do_install_append() { |
| 23 | install -d ${D}${sbindir} |
| 24 | install -m 0755 ${WORKDIR}/build/wifi_test_tool ${D}${sbindir}/wifi |
developer | c89f4a8 | 2022-10-25 13:37:17 +0800 | [diff] [blame] | 25 | install -m 0755 ${WORKDIR}/git/wmm_script/wmm-*.sh ${D}${sbindir} |
developer | 91f8074 | 2022-10-04 15:20:18 +0800 | [diff] [blame] | 26 | } |