summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-02-27 20:26:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-02-27 20:27:06 +0100
commit527fc55f380b91bfc7de57f86d9c76358489614b (patch)
treef88183a5572be6327541fb1d313ca805eb48f62e /toolchain
parent1c7f981ff7591fe086cc1029a224908ead97c36f (diff)
fix ARM noMMU toolchain creation
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uclibc-ng/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index 981843c82..146f928c8 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -157,6 +157,9 @@ endif
# arm
ifeq ($(ADK_TARGET_ARCH_ARM),y)
+ifeq ($(ADK_TARGET_WITHOUT_MMU),y)
+ $(SED) 's/.*\(DOPIC\).*/# \1 is not set/' ${WRKBUILD}/.config
+endif
ifeq ($(ADK_TARGET_ARCH_ARM_WITH_THUMB),y)
$(SED) 's/.*\(COMPILE_IN_THUMB_MODE\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(UCLIBC_HAS_CONTEXT_FUNCS\).*/# \1 is not set/' ${WRKBUILD}/.config