M7350/oe-core/meta-msm/recipes/hostap-daemon/hostap-daemon-ath6kl_git.bb
2024-09-09 08:52:07 +00:00

23 lines
656 B
BlitzBasic

include hostap-daemon.inc
PR = "${INC_PR}.4"
SRC_URI += "file://defconfig-ath6kl"
inherit gitsha
PV = "git-${GITSHA}"
SRC_DIR = "${WORKSPACE}/external/hostap"
do_configure() {
install -m 0644 ${WORKDIR}/defconfig-ath6kl .config
}
do_configure_append() {
echo "CFLAGS += -I${WORKSPACE}/wlan/include" >> .config
echo "CFLAGS += -I${WORKSPACE}/wlan/host/include" >> .config
echo "CFLAGS += -I${WORKSPACE}/wlan/host/os/linux/include" >> .config
echo "CFLAGS += -I${WORKSPACE}/wlan/host/wlan/include" >> .config
echo "${@base_conditional('TP_WIRELESS_ACL_TYPE_BLACK', 'y', 'CONFIG_WIRELESS_ACL_TYPE_BLACK=y', '', d)}" >> .config
}