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
598 B
BlitzBasic
25 lines
598 B
BlitzBasic
require dfu-util_${PV}.bb
|
|
|
|
inherit deploy native
|
|
|
|
DEPENDS = "libusb1-native"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
|
|
PACKAGECONFIG[static] = "CFLAGS='${CFLAGS} -pthread -static',,"
|
|
|
|
do_deploy() {
|
|
install -m 0755 src/dfu-util ${DEPLOYDIR}/dfu-util-${PV}
|
|
rm -f ${DEPLOYDIR}/dfu-util
|
|
ln -sf ./dfu-util-${PV} ${DEPLOYDIR}/dfu-util
|
|
}
|
|
|
|
addtask deploy before do_package after do_install
|
|
|
|
# cleandirs should possibly be in deploy.bbclass but we need it
|
|
do_deploy[cleandirs] = "${DEPLOYDIR}"
|
|
# clear stamp-extra-info since MACHINE_ARCH is normally put there by
|
|
# deploy.bbclass
|
|
do_deploy[stamp-extra-info] = ""
|
|
|