diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-05-10 19:22:25 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-05-10 19:22:39 +0200 |
commit | 34f1f35360232fe05874593d1ffd2086277c24a4 (patch) | |
tree | ea3e58703039c56f48e4123a401917472100f4a7 /toolchain/musl/Makefile | |
parent | c3efbfaf6c57f069f78fc73473be4bc330528651 (diff) |
add basic ppc64 musl support
Diffstat (limited to 'toolchain/musl/Makefile')
-rw-r--r-- | toolchain/musl/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile index 0c628806a..1bbb2d190 100644 --- a/toolchain/musl/Makefile +++ b/toolchain/musl/Makefile @@ -9,6 +9,12 @@ include ${ADK_TOPDIR}/mk/buildhlp.mk ifeq ($(ADK_TARGET_CPU_ARCH),ppc) GNU_TARGET_NAME:= $(subst ppc,powerpc,$(GNU_TARGET_NAME)) endif +ifeq ($(ADK_TARGET_CPU_ARCH),ppc64) +GNU_TARGET_NAME:= $(subst ppc64,powerpc64,$(GNU_TARGET_NAME)) +endif +ifeq ($(ADK_TARGET_CPU_ARCH),ppc64le) +GNU_TARGET_NAME:= $(subst ppc64le,powerpc64le,$(GNU_TARGET_NAME)) +endif # not yet possible TARGET_CFLAGS:= $(filter-out -fstack-protector-all,$(TARGET_CFLAGS)) TARGET_LDFLAGS:= $(filter-out -fstack-protector-all,$(TARGET_LDFLAGS)) |