Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "JTAG utility to interface w/ a S3C2410 device" |
| 2 | SECTION = "devel" |
| 3 | AUTHOR = "Harald Welte <laforge@openmoko.org>" |
| 4 | LICENSE = "GPLv2+" |
| 5 | LIC_FILES_CHKSUM = "file://parport.c;endline=19;md5=b5681091b0fd8c5f7068835c441bf0c8" |
| 6 | SRCREV = "4268" |
| 7 | PV = "0.1+svnr${SRCPV}" |
| 8 | PR = "r1" |
| 9 | |
| 10 | SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=sjf2410-linux;protocol=http" |
| 11 | S = "${WORKDIR}/sjf2410-linux" |
| 12 | |
| 13 | inherit native deploy |
| 14 | do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}" |
| 15 | |
| 16 | CFLAGS += "-DLINUX_PPDEV" |
| 17 | |
| 18 | do_compile() { |
| 19 | oe_runmake |
| 20 | } |
| 21 | |
| 22 | do_install() { |
| 23 | install -d ${D}/${bindir} |
| 24 | install -m 0755 sjf2410 ${D}/${bindir} |
| 25 | } |
| 26 | |
| 27 | do_deploy() { |
| 28 | install -d ${DEPLOY_DIR_TOOLS} |
| 29 | install -m 0755 sjf2410 ${DEPLOY_DIR_TOOLS}/sjf2410-${PV} |
| 30 | } |
| 31 | |
| 32 | addtask deploy before do_build after do_install |