summaryrefslogtreecommitdiff
path: root/package/musl/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-15 20:17:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-15 20:17:29 +0200
commit2ec757233179928bb4d8d514509d88f1b2235783 (patch)
tree5008981dd9f6715376b75e81e58b1acb2c3afd2a /package/musl/Makefile
parentea1244a1bec5a938e032c0a06389b82305651019 (diff)
fix superh big endian compile for musl
Diffstat (limited to 'package/musl/Makefile')
-rw-r--r--package/musl/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/musl/Makefile b/package/musl/Makefile
index efb5404cb..f400ba357 100644
--- a/package/musl/Makefile
+++ b/package/musl/Makefile
@@ -46,6 +46,12 @@ endif
ifeq ($(CPU_ARCH),ppc)
MARCH:= powerpc
endif
+ifeq ($(CPU_ARCH),sh4)
+MARCH:= sh
+endif
+ifeq ($(CPU_ARCH),sh4eb)
+MARCH:= sheb
+endif
ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
MARCH:= armhf
endif