diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/import-layers/yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb index e5e41f148e..9db26dccc7 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb +++ b/import-layers/yocto-poky/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb @@ -16,6 +16,7 @@ SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent;branch=1.4_ne file://tcf-agent.init \ file://tcf-agent.service \ " +UPSTREAM_VERSION_UNKNOWN = "1" DEPENDS = "util-linux openssl" RDEPENDS_${PN} = "bash" @@ -30,16 +31,22 @@ INITSCRIPT_NAME = "tcf-agent" INITSCRIPT_PARAMS = "start 99 3 5 . stop 20 0 1 2 6 ." # mangling needed for make -MAKE_ARCH = "`echo ${TARGET_ARCH} | sed s,i.86,i686,`" +MAKE_ARCH = "`echo ${TARGET_ARCH} | sed s,i.86,i686, | sed s,aarch64,a64,`" MAKE_OS = "`echo ${TARGET_OS} | sed s,^linux.*,GNU/Linux,`" 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 \ +LCL_STOP_SERVICES = "-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" + -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} |