diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-support/dfu-util/dfu-util-native_0.7.bb | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/dfu-util/dfu-util-native_0.7.bb')
-rw-r--r-- | meta-oe/recipes-support/dfu-util/dfu-util-native_0.7.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/dfu-util/dfu-util-native_0.7.bb b/meta-oe/recipes-support/dfu-util/dfu-util-native_0.7.bb new file mode 100644 index 000000000..8be9d850e --- /dev/null +++ b/meta-oe/recipes-support/dfu-util/dfu-util-native_0.7.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | require dfu-util_${PV}.bb | ||
2 | |||
3 | inherit native deploy | ||
4 | do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}" | ||
5 | |||
6 | DEPENDS = "libusb1-native" | ||
7 | |||
8 | FILESPATH =. "${FILE_DIRNAME}/${BPN}-${PV}:" | ||
9 | SRC_URI += "file://0002-Revert-Makefile.am-Drop-static-dfu-util.patch" | ||
10 | |||
11 | do_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 | |||
19 | addtask deploy before do_package after do_install | ||