summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcf-agent
diff options
context:
space:
mode:
authorGernot Hillier <gernot.hillier@siemens.com>2017-04-26 12:57:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-11 16:59:19 +0100
commit641ba7069a1b5d3ea1e9da16ada1181575ca70cc (patch)
tree73213ba73608ceb2d3a1c781abc4a773c6fdf6a7 /meta/recipes-devtools/tcf-agent
parent36c71efe92c11a440f5ef70a8c4e04ec14177cef (diff)
downloadpoky-641ba7069a1b5d3ea1e9da16ada1181575ca70cc.tar.gz
tcf-agent: enable default target debugging features
A number of features were disabled in OE due to historic problems on ARM. In tcf-agent 1.4, they compile cleanly on all architectures besides mips and libc-musl. These features are required for target debugging with Eclipse Neon, CDT and TCF plugins - for example used by Xilinx Vivado SDK 2016.4. For MIPS and libc-musl, at least re-enable SERVICE_Symbols and SERVICE_LineNumbers which compile cleanly. (From OE-Core rev: b07242cfe4544e99daf0a8d2f7062530e366bfae) Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com> Signed-off-by: Tim Offermann <tim.offermann@siemens.com> Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcf-agent')
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_git.bb13
1 files changed, 9 insertions, 4 deletions
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
index cd0081ac16..1dad825fda 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
@@ -35,11 +35,16 @@ MAKE_OS = "`echo ${TARGET_OS} | sed s,^linux.*,GNU/Linux,`"
35 35
36EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'" 36EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'"
37 37
38# They don't build on ARM and we don't need them actually. 38# These features don't compile on mips and libc-musl
39CFLAGS += "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \ 39CFLAGS_mips_append = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
40 -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \ 40 -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
41 -DSERVICE_StackTrace=0 -DSERVICE_Symbols=0 -DSERVICE_LineNumbers=0 \ 41 -DSERVICE_StackTrace=0 -DSERVICE_Expressions=0"
42 -DSERVICE_Expressions=0" 42CFLAGS_mips64_append = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
43 -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
44 -DSERVICE_StackTrace=0 -DSERVICE_Expressions=0"
45CFLAGS_append_libc-musl = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
46 -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
47 -DSERVICE_StackTrace=0 -DSERVICE_Expressions=0"
43 48
44do_install() { 49do_install() {
45 oe_runmake install INSTALLROOT=${D} 50 oe_runmake install INSTALLROOT=${D}