summaryrefslogtreecommitdiff
path: root/toolchain/uclibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-30 23:08:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-30 23:08:06 +0200
commit48aac32d6e6bc206f24bbe47c63621e5deaaf7fa (patch)
tree1409e5e61e9a9e671ba385ac5a6a93b504e1681d /toolchain/uclibc/Makefile
parent9927e8dd468d3cb1cfd6d6bfa7b4ff63cd1e837a (diff)
fix coldfire build. need to set USE_MMU to off
Diffstat (limited to 'toolchain/uclibc/Makefile')
-rw-r--r--toolchain/uclibc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/uclibc/Makefile b/toolchain/uclibc/Makefile
index 3f69f11fe..759db985e 100644
--- a/toolchain/uclibc/Makefile
+++ b/toolchain/uclibc/Makefile
@@ -30,6 +30,10 @@ else
$(SED) 's/.*\(ARCH_LITTLE_ENDIAN\).*/# \1 is not set/' ${WRKBUILD}/.config
$(SED) 's/.*\(ARCH_WANTS_LITTLE_ENDIAN\).*/# \1 is not set/' ${WRKBUILD}/.config
endif
+ifeq ($(ADK_TARGET_UCLINUX),y)
+ $(SED) 's/.*\(UCLIBC_FORMAT_FLAT_SEP_DATA\).*/\1=y/' ${WRKBUILD}/.config
+ $(SED) 's/.*\(ARCH_USE_MMU\).*/# \1 is not set/' ${WRKBUILD}/.config
+endif
ifeq ($(ADK_TARGET_USE_STATIC_LIBS)$(ADK_TARGET_BINFMT_FLAT),)
$(SED) 's/.*\(HAVE_SHARED\).*/\1=y/' ${WRKBUILD}/.config
else