25 lines
724 B
BlitzBasic
25 lines
724 B
BlitzBasic
DESCRIPTION = "Mediatek MT7668 WiFi Configuration File"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
|
DEPENDS = "mt7668-wifi-drv"
|
|
MT7668_EEPROM_SRC = "${TOPDIR}/../meta/meta-mediatek-aud"
|
|
|
|
inherit workonsrc
|
|
WORKONSRC = "${MT7668_EEPROM_SRC}/recipes-connectivity/mt7668"
|
|
|
|
do_install() {
|
|
echo ${D}
|
|
|
|
if test "${COMBO_CHIP_ID}" = "mt7668"; then
|
|
install -d ${D}/data/misc/connectivity/
|
|
install -m 0755 ${S}/EEPROM_MT7668_${MTK_PROJECT}.bin ${D}/data/misc/connectivity/EEPROM_MT7668.bin
|
|
install -d ${D}/lib/firmware/
|
|
install -m 0755 ${S}/wifi_${MTK_PROJECT}.cfg ${D}/lib/firmware/wifi.cfg
|
|
fi
|
|
}
|
|
|
|
FILES_${PN} += "/data/misc/connectivity/"
|
|
FILES_${PN} += "/lib/firmware/"
|
|
|
|
|