summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2017-06-05 10:53:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-06 19:52:26 +0100
commit97b36d5ee25b1a758c8b5bf8218d518abec9d4be (patch)
tree67ba4e4007185e77c1f208ddb06c330d3ee68f01 /meta
parentccc9b7bbd2e51d1bf1b488958d5f2275ac691e02 (diff)
downloadpoky-97b36d5ee25b1a758c8b5bf8218d518abec9d4be.tar.gz
tcf-agent: correct CFLAGS
Modify CFLAGS for several cases which will not compile otherwise. Do not use the form CFLAGS_x_append because it will replace, not append to CFLAGS for override x. (From OE-Core rev: f8e63dff3eb807b07bd71f0e31f6e0cf18ecdb0c) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_git.bb17
1 files changed, 9 insertions, 8 deletions
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
index 1dad825fda..6d6ba76ba8 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
@@ -35,17 +35,18 @@ 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# These features don't compile on mips and libc-musl 38LCL_STOP_SERVICES = "-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 \
41 -DSERVICE_StackTrace=0 -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 \ 39 -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
47 -DSERVICE_StackTrace=0 -DSERVICE_Expressions=0" 40 -DSERVICE_StackTrace=0 -DSERVICE_Expressions=0"
48 41
42
43# These features don't compile for several cases.
44#
45CFLAGS_append_mips = " ${LCL_STOP_SERVICES}"
46CFLAGS_append_mips64 = " ${LCL_STOP_SERVICES}"
47CFLAGS_append_libc-musl = " ${LCL_STOP_SERVICES}"
48CFLAGS_append_powerpc64 = " ${LCL_STOP_SERVICES}"
49
49do_install() { 50do_install() {
50 oe_runmake install INSTALLROOT=${D} 51 oe_runmake install INSTALLROOT=${D}
51 install -d ${D}${sysconfdir}/init.d/ 52 install -d ${D}${sysconfdir}/init.d/