2010-07-23 12:23:33 +00:00
|
|
|
DESCRIPTION = "Target Communication Framework"
|
2011-07-21 13:25:58 +00:00
|
|
|
HOMEPAGE = "http://wiki.eclipse.org/TCF"
|
2010-07-23 12:23:33 +00:00
|
|
|
BUGTRACKER = "https://bugs.eclipse.org/bugs/"
|
|
|
|
|
2011-12-03 23:48:29 +00:00
|
|
|
LICENSE = "EPL-1.0 | EDL-1.0"
|
2013-03-28 21:54:27 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
|
2010-07-23 12:23:33 +00:00
|
|
|
|
2012-03-22 06:22:26 +00:00
|
|
|
SRCREV = "4ef94ecb927a8912c3d79ce137182247786cff8f"
|
|
|
|
PV = "0.4.0+git${SRCPV}"
|
2013-05-15 11:23:24 +00:00
|
|
|
PR = "r2"
|
2010-07-23 12:23:33 +00:00
|
|
|
|
2013-08-30 01:56:36 +00:00
|
|
|
SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git \
|
2011-07-21 13:25:58 +00:00
|
|
|
file://fix_ranlib.patch \
|
|
|
|
file://fix_tcf-agent.init.patch \
|
|
|
|
"
|
2010-07-23 12:23:33 +00:00
|
|
|
|
2011-08-16 06:37:14 +00:00
|
|
|
DEPENDS = "util-linux openssl"
|
2011-07-21 13:25:58 +00:00
|
|
|
RDEPENDS_${PN} = "bash"
|
|
|
|
|
2012-03-22 06:22:26 +00:00
|
|
|
S = "${WORKDIR}/git"
|
2010-07-23 12:23:33 +00:00
|
|
|
|
|
|
|
inherit update-rc.d
|
|
|
|
|
|
|
|
INITSCRIPT_NAME = "tcf-agent"
|
2013-05-15 11:23:24 +00:00
|
|
|
INITSCRIPT_PARAMS = "start 99 3 5 . stop 20 0 1 2 6 ."
|
2010-07-23 12:23:33 +00:00
|
|
|
|
|
|
|
# mangling needed for make
|
2012-02-26 21:53:02 +00:00
|
|
|
MAKE_ARCH = "`echo ${TARGET_ARCH} | sed s,i.86,i686,`"
|
|
|
|
MAKE_OS = "`echo ${TARGET_OS} | sed s,^linux.*,GNU/Linux,`"
|
2010-07-23 12:23:33 +00:00
|
|
|
|
|
|
|
EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'"
|
|
|
|
|
2011-07-21 13:25:58 +00:00
|
|
|
# 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"
|
|
|
|
|
2010-07-23 12:23:33 +00:00
|
|
|
do_compile() {
|
|
|
|
oe_runmake
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
oe_runmake install INSTALLROOT=${D}
|
|
|
|
}
|
|
|
|
|