summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/dfu-util/dfu-util-native_0.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/dfu-util/dfu-util-native_0.4.bb')
-rw-r--r--meta-oe/recipes-support/dfu-util/dfu-util-native_0.4.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/dfu-util/dfu-util-native_0.4.bb b/meta-oe/recipes-support/dfu-util/dfu-util-native_0.4.bb
new file mode 100644
index 000000000..4a830a36b
--- /dev/null
+++ b/meta-oe/recipes-support/dfu-util/dfu-util-native_0.4.bb
@@ -0,0 +1,19 @@
1require dfu-util_${PV}.bb
2
3inherit native deploy
4do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
5
6DEPENDS = "libusb1-native"
7
8FILESPATH =. "${FILE_DIRNAME}/${BPN}-${PV}:"
9SRC_URI += "file://0001-Revert-Makefile.am-Drop-static-dfu-util.patch"
10
11do_deploy() {
12 install -d ${DEPLOY_DIR_TOOLS}
13 install -m 0755 src/dfu-util_static ${DEPLOY_DIR_TOOLS}/dfu-util-${PV}
14 rm -f ${DEPLOY_DIR_TOOLS}/dfu-util
15 ln -sf ./dfu-util-${PV} ${DEPLOY_DIR_TOOLS}/dfu-util
16
17}
18
19addtask deploy before do_package after do_install