| DESCRIPTION = "mt76-test" |
| SECTION = "applications" |
| LICENSE = "GPLv2" |
| LIC_FILES_CHKSUM = "file://../COPYING;md5=c188eeeb69c0a05d0545816f1458a0c9" |
| |
| DEPENDS += "libnl-tiny" |
| |
| inherit pkgconfig cmake |
| |
| PV = "1.0" |
| |
| require mt76.inc |
| |
| SRC_URI = " \ |
| git://git@github.com/openwrt/mt76.git;protocol=https \ |
| file://COPYING;subdir=git \ |
| file://5000-mt76-add-internal-wed_tiny-header-file.patch;apply=no\ |
| " |
| |
| |
| |
| |
| DEPENDS += "virtual/kernel" |
| DEPENDS += "linux-mac80211" |
| DEPENDS += "linux-mt76" |
| |
| FILESEXTRAPATHS_prepend := "${@bb.utils.contains('DISTRO_FEATURES','wifi_eht','${THISDIR}/files/patches-3.x:','${THISDIR}/files/patches:',d)}" |
| |
| |
| CFLAGS_append = " -I=${includedir}/libnl-tiny " |
| |
| S = "${WORKDIR}/git/tools" |
| |
| SRC_URI += "file://*.patch;apply=no" |
| |
| do_mtk_patches() { |
| cd ${S}/../ |
| |
| if [ ! -e mtk_wifi_patch_applied ]; then |
| for i in ${WORKDIR}/*.patch; do patch -p1 < $i; done |
| fi |
| touch mtk_wifi_patch_applied |
| } |
| addtask mtk_patches after do_patch before do_configure |
| |
| |
| |
| |
| |
| |