diff options
Diffstat (limited to 'meta/recipes-devtools/tcf-agent/tcf-agent_git.bb')
-rw-r--r-- | meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb new file mode 100644 index 0000000000..8ac8022918 --- /dev/null +++ b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | |||
@@ -0,0 +1,51 @@ | |||
1 | DESCRIPTION = "Target Communication Framework" | ||
2 | HOMEPAGE = "http://wiki.eclipse.org/TCF" | ||
3 | BUGTRACKER = "https://bugs.eclipse.org/bugs/" | ||
4 | |||
5 | LICENSE = "EPL-1.0 | EDL-1.0" | ||
6 | LIC_FILES_CHKSUM = "file://../epl-v10.html;md5=7aa4215a330a0a4f6a1cbf8da1a0879f \ | ||
7 | file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679" | ||
8 | |||
9 | SRCREV = "4ef94ecb927a8912c3d79ce137182247786cff8f" | ||
10 | PV = "0.4.0+git${SRCPV}" | ||
11 | PR = "r0" | ||
12 | |||
13 | SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git;proto=git \ | ||
14 | http://www.eclipse.org/legal/epl-v10.html;name=epl \ | ||
15 | file://fix_ranlib.patch \ | ||
16 | file://fix_tcf-agent.init.patch \ | ||
17 | " | ||
18 | |||
19 | SRC_URI[epl.md5sum] = "7aa4215a330a0a4f6a1cbf8da1a0879f" | ||
20 | SRC_URI[epl.sha256sum] = "4fd64aeed340d62a64a8da4b371efe0f6d0d745f4d2dbefacba86c646d36bc72" | ||
21 | |||
22 | DEPENDS = "util-linux openssl" | ||
23 | RDEPENDS_${PN} = "bash" | ||
24 | |||
25 | S = "${WORKDIR}/git" | ||
26 | |||
27 | inherit update-rc.d | ||
28 | |||
29 | INITSCRIPT_NAME = "tcf-agent" | ||
30 | INITSCRIPT_PARAMS = "start 999 3 5 . stop 20 0 1 2 6 ." | ||
31 | |||
32 | # mangling needed for make | ||
33 | MAKE_ARCH = "`echo ${TARGET_ARCH} | sed s,i.86,i686,`" | ||
34 | MAKE_OS = "`echo ${TARGET_OS} | sed s,^linux.*,GNU/Linux,`" | ||
35 | |||
36 | EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'" | ||
37 | |||
38 | # They don't build on ARM and we don't need them actually. | ||
39 | CFLAGS += "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \ | ||
40 | -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \ | ||
41 | -DSERVICE_StackTrace=0 -DSERVICE_Symbols=0 -DSERVICE_LineNumbers=0 \ | ||
42 | -DSERVICE_Expressions=0" | ||
43 | |||
44 | do_compile() { | ||
45 | oe_runmake | ||
46 | } | ||
47 | |||
48 | do_install() { | ||
49 | oe_runmake install INSTALLROOT=${D} | ||
50 | } | ||
51 | |||