Browse Source

disable DOPIC for coldfire flat

Waldemar Brodkorb 9 years ago
parent
commit
130c45cd46
2 changed files with 6 additions and 1 deletions
  1. 0 1
      target/config/Config.in.binfmt
  2. 6 0
      toolchain/uclibc-ng/Makefile

+ 0 - 1
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.
 

+ 6 - 0
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)