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 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 16 | |
| 17 | CFLAGS += "-DLINUX_PPDEV" |
| 18 | |
| 19 | do_compile() { |
| 20 | oe_runmake |
| 21 | } |
| 22 | |
| 23 | do_install() { |
| 24 | install -d ${D}/${bindir} |
| 25 | install -m 0755 sjf2410 ${D}/${bindir} |
| 26 | } |
| 27 | |
| 28 | do_deploy() { |
Brad Bishop | 0f291cc | 2019-09-01 15:16:57 -0400 | [diff] [blame] | 29 | install -m 0755 sjf2410 ${DEPLOYDIR}/sjf2410-${PV} |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | addtask deploy before do_build after do_install |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 33 | |
| 34 | do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}" |
| 35 | # cleandirs should possibly be in deploy.bbclass but we need it |
| 36 | do_deploy[cleandirs] = "${DEPLOYDIR}" |
| 37 | # clear stamp-extra-info since MACHINE_ARCH is normally put there by |
| 38 | # deploy.bbclass |
| 39 | do_deploy[stamp-extra-info] = "" |
| 40 | |