summaryrefslogtreecommitdiff
path: root/packages/openocd/openocd-native_svn.bb
blob: 4ab1d37fe29420d1940b6549b2f60582a9b00a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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_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