mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
tcf-agent: upgrade to the latest stable revision 0.0+svnr1855
(From OE-Core rev: ae7bf72292de3db370373eee6c8084af63d788b5) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e51d542e78
commit
7f576fae2d
@@ -0,0 +1,14 @@
|
|||||||
|
Upstream-Status: Inappropriate [poky-specific fix]
|
||||||
|
|
||||||
|
--- a/Makefile.inc
|
||||||
|
+++ b/Makefile.inc
|
||||||
|
@@ -57,6 +57,9 @@
|
||||||
|
ifeq ($(NO_UUID),)
|
||||||
|
LIBS += -luuid
|
||||||
|
endif
|
||||||
|
+ ifneq ($(RANLIB),)
|
||||||
|
+ RANLIB += $@
|
||||||
|
+ endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(OPSYS),Windows)
|
||||||
@@ -2,15 +2,15 @@ Upstream-Status: Inappropriate [poky-specific script]
|
|||||||
|
|
||||||
--- a/Makefile
|
--- a/Makefile
|
||||||
+++ b/Makefile
|
+++ b/Makefile
|
||||||
@@ -32,7 +32,7 @@
|
@@ -64,7 +64,7 @@
|
||||||
install -d -m 755 $(INSTALLROOT)$(SBIN)
|
install -d -m 755 $(INSTALLROOT)$(INCLUDE)/tcf/services
|
||||||
install -d -m 755 $(INSTALLROOT)$(INIT)
|
|
||||||
install -c $(BINDIR)/agent -m 755 $(INSTALLROOT)$(SBIN)/tcf-agent
|
install -c $(BINDIR)/agent -m 755 $(INSTALLROOT)$(SBIN)/tcf-agent
|
||||||
- install -c $(TCF_AGENT_DIR)/main/tcf-agent.init -m 755 $(INSTALLROOT)$(INIT)/tcf-agent
|
install -c $(BINDIR)/client -m 755 $(INSTALLROOT)$(SBIN)/tcf-client
|
||||||
|
- install -c main/tcf-agent.init -m 755 $(INSTALLROOT)$(INIT)/tcf-agent
|
||||||
+ install -c tcf-agent.init -m 755 $(INSTALLROOT)$(INIT)/tcf-agent
|
+ install -c tcf-agent.init -m 755 $(INSTALLROOT)$(INIT)/tcf-agent
|
||||||
|
install -c config.h -m 755 $(INSTALLROOT)$(INCLUDE)/tcf/config.h
|
||||||
clean:
|
install -c -t $(INSTALLROOT)$(INCLUDE)/tcf/framework -m 644 framework/*.h
|
||||||
rm -rf $(BINDIR)
|
install -c -t $(INSTALLROOT)$(INCLUDE)/tcf/services -m 644 services/*.h
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/tcf-agent.init
|
+++ b/tcf-agent.init
|
||||||
@@ -0,0 +1,78 @@
|
@@ -0,0 +1,78 @@
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,20 +1,28 @@
|
|||||||
DESCRIPTION = "Target Communication Framework"
|
DESCRIPTION = "Target Communication Framework"
|
||||||
HOMEPAGE = "http://dsdp.eclipse.org/dsdp/tm/"
|
HOMEPAGE = "http://wiki.eclipse.org/TCF"
|
||||||
BUGTRACKER = "https://bugs.eclipse.org/bugs/"
|
BUGTRACKER = "https://bugs.eclipse.org/bugs/"
|
||||||
|
|
||||||
LICENSE = "EPL-1 | EDLv1.0"
|
LICENSE = "EPL-1 | EDLv1.0"
|
||||||
LIC_FILES_CHKSUM = "file://../epl-v10.html;md5=7aa4215a330a0a4f6a1cbf8da1a0879f \
|
LIC_FILES_CHKSUM = "file://../epl-v10.html;md5=7aa4215a330a0a4f6a1cbf8da1a0879f \
|
||||||
file://../agent/edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
|
file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
|
||||||
|
|
||||||
SRCREV = "1078"
|
SRCREV = "1855"
|
||||||
PV = "0.3.0+svnr${SRCPV}"
|
PV = "0.0+svnr${SRCPV}"
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
SRC_URI = "svn://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/;module=tags/0.3.0/;proto=http \
|
SRC_URI = "svn://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk;module=agent;proto=http \
|
||||||
file://terminals_agent.patch \
|
http://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk/epl-v10.html;name=epl \
|
||||||
file://fix_tcf-agent.init.patch"
|
file://fix_ranlib.patch \
|
||||||
|
file://fix_tcf-agent.init.patch \
|
||||||
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/tags/0.3.0/tcf-agent"
|
SRC_URI[epl.md5sum] = "7aa4215a330a0a4f6a1cbf8da1a0879f"
|
||||||
|
SRC_URI[epl.sha256sum] = "4fd64aeed340d62a64a8da4b371efe0f6d0d745f4d2dbefacba86c646d36bc72"
|
||||||
|
|
||||||
|
DEPENDS = "util-linux"
|
||||||
|
RDEPENDS_${PN} = "bash"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/agent"
|
||||||
|
|
||||||
inherit update-rc.d
|
inherit update-rc.d
|
||||||
|
|
||||||
@@ -23,10 +31,16 @@ INITSCRIPT_PARAMS = "start 999 3 5 . stop 20 0 1 2 6 ."
|
|||||||
|
|
||||||
# mangling needed for make
|
# mangling needed for make
|
||||||
MAKE_ARCH = `echo ${TARGET_ARCH} | sed s,i.86,i686,`
|
MAKE_ARCH = `echo ${TARGET_ARCH} | sed s,i.86,i686,`
|
||||||
MAKE_OS = `echo ${TARGET_OS} | sed s,linux,GNU/Linux,`
|
MAKE_OS = `echo ${TARGET_OS} | sed s,^linux.*,GNU/Linux,`
|
||||||
|
|
||||||
EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'"
|
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_compile() {
|
do_compile() {
|
||||||
oe_runmake
|
oe_runmake
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user