diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-26 11:32:23 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-26 11:32:52 +0200 |
commit | ea6fabbf50fd7bd6f499dc80067199d25b093e3a (patch) | |
tree | ca4eb3e8af26e4632c05141b7930c443aa2ea4c8 /toolchain/uclibc-ng/Makefile | |
parent | c40a49d923bd449d0246f647e6bad9dc9f0c3e5f (diff) |
fix cris32 build
Diffstat (limited to 'toolchain/uclibc-ng/Makefile')
-rw-r--r-- | toolchain/uclibc-ng/Makefile | 14 |
1 files 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) |