generic-poky/meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb

18 lines
359 B
BlitzBasic

require dfu-util_${PV}.bb
inherit native
DEPENDS = "libusb-native usbpath-native"
do_stage() {
install -d ${STAGING_BINDIR_NATIVE}
install -m 0755 src/dfu-util ${STAGING_BINDIR_NATIVE}/
}
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0755 src/dfu-util_static ${DEPLOY_DIR_IMAGE}/dfu-util
}
addtask deploy before do_package after do_install