From 369920107edd8ae2487d71a324072fcfaba0731e Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 5 Aug 2010 13:25:20 +0000 Subject: deploy.bbclass: use new style staging for deploy tasks All tasks which implement a do_deploy should inherit this class to have the changes in the deploy task staged. Update recipes which include a do_deploy function to inherit this class and to use DEPLOYDIR rather than DEPLOY_DIR_IMAGE. Signed-off-by: Joshua Lock --- meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'meta-openmoko/packages') diff --git a/meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb b/meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb index 13948b9aa3..c049500a61 100644 --- a/meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb +++ b/meta-openmoko/packages/dfu-util/dfu-util-native_svn.bb @@ -1,12 +1,11 @@ require dfu-util_${PV}.bb -inherit native +inherit native deploy DEPENDS = "libusb-native usbpath-native" do_deploy() { - install -d ${DEPLOY_DIR_IMAGE} - install -m 0755 src/dfu-util_static ${DEPLOY_DIR_IMAGE}/dfu-util + install -m 0755 src/dfu-util_static ${DEPLOYDIR}/dfu-util } addtask deploy before do_package after do_install -- cgit v1.2.3-54-g00ecf