summaryrefslogtreecommitdiff
path: root/toolchain/musl/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-05-10 19:22:25 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-05-10 19:22:39 +0200
commit34f1f35360232fe05874593d1ffd2086277c24a4 (patch)
treeea3e58703039c56f48e4123a401917472100f4a7 /toolchain/musl/Makefile
parentc3efbfaf6c57f069f78fc73473be4bc330528651 (diff)
add basic ppc64 musl support
Diffstat (limited to 'toolchain/musl/Makefile')
-rw-r--r--toolchain/musl/Makefile6
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))