diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-13 19:28:17 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-13 19:28:17 +0200 |
commit | 8adc29d4a3b3d96a0625f36a95686d83b47347cf (patch) | |
tree | 219c94ab9c2c1dd9095dbebe95f343b23aaae34e | |
parent | 3948e1142900bc62095f0cfc0eeec2d617387321 (diff) | |
parent | e186d88bff21f249538b1f19e124700cbc1c774e (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r-- | package/musl/Makefile | 6 | ||||
-rw-r--r-- | toolchain/musl/Makefile | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/package/musl/Makefile b/package/musl/Makefile index e7526572f..86e75cc26 100644 --- a/package/musl/Makefile +++ b/package/musl/Makefile @@ -33,6 +33,12 @@ endif ifeq ($(CPU_ARCH),i486) MARCH:= i386 endif +ifeq ($(CPU_ARCH),mipsel) +MARCH:= mips +endif +ifeq ($(CPU_ARCH),ppc) +MARCH:= powerpc +endif # do nothing, musl is already build in toolchain directory do-install: 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 \ |