From 3aa598104ca4c6f8de67b228ced3e680fbcab677 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 11 Dec 2016 07:27:49 +0100 Subject: sh2-nommu/j2: add better support and add required patches from musl-cross-make --- package/musl/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package/musl') 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 -- cgit v1.2.3