From ea6fabbf50fd7bd6f499dc80067199d25b093e3a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 26 May 2015 11:32:23 +0200 Subject: fix cris32 build --- toolchain/uclibc-ng/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile index 6aaae53dd..c2210684e 100644 --- a/toolchain/uclibc-ng/Makefile +++ b/toolchain/uclibc-ng/Makefile @@ -110,7 +110,6 @@ ifeq ($(ADK_TARGET_LIB_WITHOUT_THREADS),y) $(SED) 's/.*\(UCLIBC_HAS_TLS\).*/# \1 is not set/' ${WRKBUILD}/.config $(SED) 's/.*\(PTHREADS_DEBUG_SUPPORT\).*/# \1 is not set/' ${WRKBUILD}/.config $(SED) 's/.*\(HAS_NO_THREADS\).*/\1=y/' ${WRKBUILD}/.config - endif endif ifeq ($(ADK_TARGET_LIB_UCLIBC_NG_1_0),y) @@ -136,7 +135,6 @@ ifeq ($(ADK_TARGET_LIB_WITHOUT_THREADS),y) $(SED) 's/.*\(UCLIBC_HAS_TLS\).*/# \1 is not set/' ${WRKBUILD}/.config $(SED) 's/.*\(PTHREADS_DEBUG_SUPPORT\).*/# \1 is not set/' ${WRKBUILD}/.config $(SED) 's/.*\(HAS_NO_THREADS\).*/\1=y/' ${WRKBUILD}/.config - endif endif ifeq ($(ADK_TARGET_USE_STATIC_LIBS)$(ADK_TARGET_BINFMT_FLAT),) @@ -179,6 +177,18 @@ ifeq ($(ADK_TARGET_ARCH_ARM_WITH_THUMB),y) endif endif +# cris +ifeq ($(ADK_TARGET_ARCH_CRIS),y) +ifeq ($(ADK_CPU_CRIS_V32),y) + $(SED) 's/.*\(CONFIG_CRIS=\).*/# \1 is not set/' ${WRKBUILD}/.config + $(SED) 's/.*\(CONFIG_CRISV32\).*/\1=y/' ${WRKBUILD}/.config +endif +ifeq ($(ADK_CPU_CRIS_V10),y) + $(SED) 's/.*\(CONFIG_CRIS=\).*/\1=y/' ${WRKBUILD}/.config + $(SED) 's/.*\(CONFIG_CRISV32\).*/# \1 is not set/' ${WRKBUILD}/.config +endif +endif + # mips ifeq ($(ADK_TARGET_ARCH_MIPS),y) ifeq ($(ADK_CPU_MIPS32R2),y) -- cgit v1.2.3