Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and meta-openwrt into a single repository. Components: - poky/ Yocto core framework (BitBake + OE-Core) - meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking) - meta-openwrt/ OpenWrt customization layer - setup-env.sh One-click build environment setup - README.md Project documentation
25 lines
857 B
Plaintext
25 lines
857 B
Plaintext
# Copyright (C) 2015 Khem Raj <raj.khem@gmail.com>
|
|
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
|
|
|
SRCREV_openwrt = "${OPENWRT_SRCREV}"
|
|
|
|
inherit openwrt openwrt-base-files
|
|
|
|
do_install:append() {
|
|
install -d ${D}${base_libdir}/netifd
|
|
install -d ${D}${base_libdir}/netifd/wireless
|
|
install -d ${D}${base_libdir}/wifi
|
|
|
|
install -m 0755 ${WORKDIR}/git/openwrt/package/kernel/mac80211/files/lib/wifi/mac80211.sh ${D}${base_libdir}/wifi/mac80211.sh
|
|
install -m 0755 ${WORKDIR}/git/openwrt/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh ${D}${base_libdir}/netifd/wireless/mac80211.sh
|
|
}
|
|
|
|
FILES:${PN} += "\
|
|
${base_libdir}/netifd/hostapd.sh \
|
|
${base_libdir}/wifi/mac80211.sh \
|
|
${base_libdir}/netifd/wireless/mac80211.sh \
|
|
"
|