summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-13 19:28:17 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-13 19:28:17 +0200
commit8adc29d4a3b3d96a0625f36a95686d83b47347cf (patch)
tree219c94ab9c2c1dd9095dbebe95f343b23aaae34e /toolchain
parent3948e1142900bc62095f0cfc0eeec2d617387321 (diff)
parente186d88bff21f249538b1f19e124700cbc1c774e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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 \