summaryrefslogtreecommitdiff
path: root/package/musl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-11 07:27:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-13 05:47:44 +0100
commit3aa598104ca4c6f8de67b228ced3e680fbcab677 (patch)
treea737c19928f8d853b97e5d655353a547df822fef /package/musl
parent9ce0683145795cdb3d35f0cd764e4765cc127f13 (diff)
sh2-nommu/j2: add better support and add required patches from musl-cross-make
Diffstat (limited to 'package/musl')
-rw-r--r--package/musl/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/musl/Makefile b/package/musl/Makefile
index a7bd3a80d..55323c5a9 100644
--- a/package/musl/Makefile
+++ b/package/musl/Makefile
@@ -49,6 +49,13 @@ endif
ifeq ($(ADK_TARGET_CPU_ARCH),ppc64le)
MARCH:= powerpc64le
endif
+ifeq ($(ADK_TARGET_CPU_ARCH),sh2eb)
+ifeq ($(ADK_TARGET_BINFMT_FDPIC),y)
+MARCH:= sheb-nofpu-fdpic
+else
+MARCH:= sheb-nofpu
+endif
+endif
ifeq ($(ADK_TARGET_CPU_ARCH),sh4)
MARCH:= sh
endif