diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.xz |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb')
-rw-r--r-- | yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb new file mode 100644 index 000000000..f8fd39042 --- /dev/null +++ b/yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb @@ -0,0 +1,49 @@ +SUMMARY = "Target Communication Framework for the Eclipse IDE" +HOMEPAGE = "http://wiki.eclipse.org/TCF" +BUGTRACKER = "https://bugs.eclipse.org/bugs/" + +LICENSE = "EPL-1.0 | EDL-1.0" +LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679" + +SRCREV = "b9a735e9c7cf82f80d412b7ab15d08b89d5a4ccc" +PV = "1.3.0+git${SRCPV}" + +SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git;branch=1.3_mars_bugfix \ + file://fix_ranlib.patch \ + file://tcf-agent.init \ + file://tcf-agent.service \ + " + +DEPENDS = "util-linux openssl" +RDEPENDS_${PN} = "bash" + +S = "${WORKDIR}/git/agent" + +inherit update-rc.d systemd + +SYSTEMD_SERVICE_${PN} = "tcf-agent.service" + +INITSCRIPT_NAME = "tcf-agent" +INITSCRIPT_PARAMS = "start 99 3 5 . stop 20 0 1 2 6 ." + +# mangling needed for make +MAKE_ARCH = "`echo ${TARGET_ARCH} | sed s,i.86,i686,`" +MAKE_OS = "`echo ${TARGET_OS} | sed s,^linux.*,GNU/Linux,`" + +EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'" + +# They don't build on ARM and we don't need them actually. +CFLAGS += "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \ + -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \ + -DSERVICE_StackTrace=0 -DSERVICE_Symbols=0 -DSERVICE_LineNumbers=0 \ + -DSERVICE_Expressions=0" + +do_install() { + oe_runmake install INSTALLROOT=${D} + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/tcf-agent.init ${D}${sysconfdir}/init.d/tcf-agent + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/tcf-agent.service ${D}${systemd_unitdir}/system + sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/tcf-agent.service +} + |