mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
ccc9b7bbd2
commit
97b36d5ee2
@@ -35,17 +35,18 @@ MAKE_OS = "`echo ${TARGET_OS} | sed s,^linux.*,GNU/Linux,`"
|
||||
|
||||
EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'"
|
||||
|
||||
# These features don't compile on mips and libc-musl
|
||||
CFLAGS_mips_append = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
|
||||
-DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
|
||||
-DSERVICE_StackTrace=0 -DSERVICE_Expressions=0"
|
||||
CFLAGS_mips64_append = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
|
||||
-DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
|
||||
-DSERVICE_StackTrace=0 -DSERVICE_Expressions=0"
|
||||
CFLAGS_append_libc-musl = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
|
||||
LCL_STOP_SERVICES = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
|
||||
-DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
|
||||
-DSERVICE_StackTrace=0 -DSERVICE_Expressions=0"
|
||||
|
||||
|
||||
# These features don't compile for several cases.
|
||||
#
|
||||
CFLAGS_append_mips = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS_append_mips64 = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS_append_libc-musl = " ${LCL_STOP_SERVICES}"
|
||||
CFLAGS_append_powerpc64 = " ${LCL_STOP_SERVICES}"
|
||||
|
||||
do_install() {
|
||||
oe_runmake install INSTALLROOT=${D}
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
|
||||
Reference in New Issue
Block a user