summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-13 14:37:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-13 14:37:51 +0200
commite186d88bff21f249538b1f19e124700cbc1c774e (patch)
tree2f90bbc8990722edccb479bdde7ba894ef42e787 /toolchain
parentce57b051ea75be9e680edc7283c0485ebbb05d83 (diff)
trying to get mips and ppc musl working
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/musl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile
index e75b8c607..074eaea37 100644
--- a/toolchain/musl/Makefile
+++ b/toolchain/musl/Makefile
@@ -6,6 +6,10 @@ include ../rules.mk
include Makefile.inc
include ${TOPDIR}/mk/buildhlp.mk
+ifeq ($(CPU_ARCH),ppc)
+REAL_GNU_TARGET_NAME:= $(subst ppc,powerpc,$(REAL_GNU_TARGET_NAME))
+endif
+
$(WRKBUILD)/.headers:
(cd $(WRKBUILD); CC='$(TARGET_CC)' CROSS_COMPILE='$(TARGET_CROSS)' \
./configure --prefix=/usr \