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 <josh@linux.intel.com>
This commit is contained in:
Joshua Lock
2010-08-05 13:25:20 +00:00
committed by Richard Purdie
parent 29ca893649
commit 369920107e
11 changed files with 55 additions and 68 deletions

View File

@@ -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