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.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/openocd/openocd-native_svn.bb b/packages/openocd/openocd-native_svn.bb
index 5e77400671..4ab1d37fe2 100644
--- a/packages/openocd/openocd-native_svn.bb
+++ b/packages/openocd/openocd-native_svn.bb
@@ -3,8 +3,15 @@ require openocd_${PV}.bb
inherit native
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