summaryrefslogtreecommitdiff
path: root/packages/openocd/openocd-native_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openocd/openocd-native_svn.bb')
-rw-r--r--packages/openocd/openocd-native_svn.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/openocd/openocd-native_svn.bb b/packages/openocd/openocd-native_svn.bb
index a1953dbac2..4ab1d37fe2 100644
--- a/packages/openocd/openocd-native_svn.bb
+++ b/packages/openocd/openocd-native_svn.bb
@@ -6,6 +6,12 @@ DEPENDS = "libftdi-native"
EXTRA_OECONF = "--enable-ft2232_libftdi --enable-parport-ppdev"
do_stage() {
- install -m 0755 src/openocd ${STAGING_BINDIR}
+ install -m 0755 src/openocd ${STAGING_BINDIR_NATIVE}
}
+do_deploy() {
+ install -d ${DEPLOY_DIR_IMAGE}
+ install -m 0755 src/openocd ${DEPLOY_DIR_IMAGE}/openocd
+}
+
+addtask deploy before do_package after do_install