mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
o Fix suffix check regression on Windows with Large File Support o Skip setting alternate interface when not needed o Only clamp transfer size on Linux o Quirk for GD32 leave request o Improve status and error messages and exit codes o dfuse: Process all alternate interfaces in a DfuSe file o dfuse-pack.py: Fix alternate settings if first is 0 2021-09-05 Tormod Volden <debian.tormod@gmail.com> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
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] = ""
|
|
|