summaryrefslogtreecommitdiff
path: root/packages/dfu-util/dfu-util-native_svn.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-07-20 13:17:25 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-07-20 13:17:25 +0000
commit8bfe7840506521511b483b44f7d9d55fc09b03ca (patch)
tree63819a2802c08e5eae64fb85551667be5da53fca /packages/dfu-util/dfu-util-native_svn.bb
parenta967e9db239d0fdcdb13f24e88d6faa98a1eee68 (diff)
dfu-util-native: link to the last built dfu-util
Diffstat (limited to 'packages/dfu-util/dfu-util-native_svn.bb')
-rw-r--r--packages/dfu-util/dfu-util-native_svn.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/dfu-util/dfu-util-native_svn.bb b/packages/dfu-util/dfu-util-native_svn.bb
index 6304fad55b..ad0bece8fa 100644
--- a/packages/dfu-util/dfu-util-native_svn.bb
+++ b/packages/dfu-util/dfu-util-native_svn.bb
@@ -7,11 +7,16 @@ DEPENDS = "libusb-native usbpath-native"
do_stage() {
install -d ${STAGING_BINDIR_NATIVE}
install -m 0755 src/dfu-util ${STAGING_BINDIR_NATIVE}/dfu-util-${PV}
+ rm -f ${STAGING_BINDIR_NATIVE}/dfu-util
+ ln -sf ./dfu-util-${PV} ${STAGING_BINDIR_NATIVE}/dfu-util
}
do_deploy() {
install -d ${DEPLOY_DIR_TOOLS}
install -m 0755 src/dfu-util_static ${DEPLOY_DIR_TOOLS}/dfu-util-${PV}
+ rm -f ${DEPLOY_DIR_TOOLS}/dfu-util
+ ln -sf ./dfu-util-${PV} ${DEPLOY_DIR_TOOLS}/dfu-util
+
}
addtask deploy before do_package after do_install