summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.binfmt1
-rw-r--r--toolchain/uclibc-ng/Makefile6
2 files changed, 6 insertions, 1 deletions
diff --git a/target/config/Config.in.binfmt b/target/config/Config.in.binfmt
index d476eff5f..9ffb924a0 100644
--- a/target/config/Config.in.binfmt
+++ b/target/config/Config.in.binfmt
@@ -33,7 +33,6 @@ default ADK_TARGET_BINFMT_FLAT_ONE
config ADK_TARGET_BINFMT_FLAT_ONE
bool "One memory region"
- depends on ADK_TARGET_ARCH_BFIN
help
All segments are linked into one memory region.
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index 07aeedd35..2e6cde204 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -238,6 +238,12 @@ ifeq ($(ADK_TARGET_CPU_X86_I686),y)
endif
endif
+ifeq ($(ADK_TARGET_ARCH_M68K),y)
+ifeq ($(ADK_TARGET_WITHOUT_MMU),y)
+ $(SED) 's/.*\(DOPIC\).*/# \1 is not set/' ${WRKBUILD}/.config
+endif
+endif
+
# mips64 abi
ifeq ($(ADK_TARGET_ARCH_MIPS64),y)
ifeq ($(ADK_TARGET_ABI_N64),y)