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 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 10 | SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=sjf2410-linux;protocol=http \ |
| 11 | file://0001-ppt.c-Do-not-include-sys-io.h.patch \ |
| 12 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 13 | S = "${WORKDIR}/sjf2410-linux" |
| 14 | |
| 15 | inherit native deploy |
| 16 | do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}" |
| 17 | |
| 18 | CFLAGS += "-DLINUX_PPDEV" |
| 19 | |
| 20 | do_compile() { |
| 21 | oe_runmake |
| 22 | } |
| 23 | |
| 24 | do_install() { |
| 25 | install -d ${D}/${bindir} |
| 26 | install -m 0755 sjf2410 ${D}/${bindir} |
| 27 | } |
| 28 | |
| 29 | do_deploy() { |
Brad Bishop | 0f291cc | 2019-09-01 15:16:57 -0400 | [diff] [blame] | 30 | install -m 0755 sjf2410 ${DEPLOYDIR}/sjf2410-${PV} |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | addtask deploy before do_build after do_install |