diff options
| -rw-r--r-- | meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 17 |
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 | ||
| 36 | EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'" | 36 | EXTRA_OEMAKE = "MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} 'CC=${CC}' 'AR=${AR}'" |
| 37 | 37 | ||
| 38 | # These features don't compile on mips and libc-musl | 38 | LCL_STOP_SERVICES = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \ |
| 39 | CFLAGS_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" | ||
| 42 | CFLAGS_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" | ||
| 45 | CFLAGS_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 | # | ||
| 45 | CFLAGS_append_mips = " ${LCL_STOP_SERVICES}" | ||
| 46 | CFLAGS_append_mips64 = " ${LCL_STOP_SERVICES}" | ||
| 47 | CFLAGS_append_libc-musl = " ${LCL_STOP_SERVICES}" | ||
| 48 | CFLAGS_append_powerpc64 = " ${LCL_STOP_SERVICES}" | ||
| 49 | |||
| 49 | do_install() { | 50 | do_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/ |
