blob: 3a5172eecc9a5482a1eaf50ae69f5cbcc5822518 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "JTAG utility to interface w/ a S3C2410 device"
2SECTION = "devel"
3AUTHOR = "Harald Welte <laforge@openmoko.org>"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://parport.c;endline=19;md5=b5681091b0fd8c5f7068835c441bf0c8"
6SRCREV = "4268"
7PV = "0.1+svnr${SRCPV}"
8PR = "r1"
9
Brad Bishop26bdd442019-08-16 17:08:17 -040010SRC_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 Williamsb48b7b42016-08-17 15:04:38 -050013S = "${WORKDIR}/sjf2410-linux"
14
15inherit native deploy
Patrick Williamsb48b7b42016-08-17 15:04:38 -050016
17CFLAGS += "-DLINUX_PPDEV"
18
19do_compile() {
20 oe_runmake
21}
22
23do_install() {
24 install -d ${D}/${bindir}
25 install -m 0755 sjf2410 ${D}/${bindir}
26}
27
28do_deploy() {
Brad Bishop0f291cc2019-09-01 15:16:57 -040029 install -m 0755 sjf2410 ${DEPLOYDIR}/sjf2410-${PV}
Patrick Williamsb48b7b42016-08-17 15:04:38 -050030}
31
32addtask deploy before do_build after do_install
Brad Bishope42b3e32020-01-15 22:08:42 -050033
34do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
35# cleandirs should possibly be in deploy.bbclass but we need it
36do_deploy[cleandirs] = "${DEPLOYDIR}"
37# clear stamp-extra-info since MACHINE_ARCH is normally put there by
38# deploy.bbclass
39do_deploy[stamp-extra-info] = ""
40