summaryrefslogtreecommitdiff
path: root/packages/dfu-util/dfu-util-native_svn.bb
blob: 9bfe4bae2c70aafe15ed5400166f373dc22ae3e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require dfu-util_${PV}.bb

inherit native

DEPENDS = "libusb-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