From 8bfe7840506521511b483b44f7d9d55fc09b03ca Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sun, 20 Jul 2008 13:17:25 +0000 Subject: dfu-util-native: link to the last built dfu-util --- packages/dfu-util/dfu-util-native_svn.bb | 5 +++++ packages/dfu-util/dfu-util_svn.bb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 diff --git a/packages/dfu-util/dfu-util_svn.bb b/packages/dfu-util/dfu-util_svn.bb index 2e1afd55b1..5cb95cbac8 100644 --- a/packages/dfu-util/dfu-util_svn.bb +++ b/packages/dfu-util/dfu-util_svn.bb @@ -3,7 +3,7 @@ SECTION = "devel" AUTHOR = "Harald Welte " LICENSE = "GPL" PV = "0.1+svnr${SRCREV}" -PR = "r1" +PR = "r2" DEPENDS = "libusb usbpath" -- cgit v1.2.3