summaryrefslogtreecommitdiff
path: root/recipes/openocd/openocd-native_svn.bb
blob: 3ca688b5c31b84f435dd2d81803e40afd3ce53a5 (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_TOOLS}
	install -m 0755 src/openocd ${DEPLOY_DIR_TOOLS}/openocd-${PV}
}

addtask deploy before do_package after do_install