Browse Source

update MMU config options to utilize USE_MMU instead of HAS_MMU

Mike Frysinger 18 years ago
parent
commit
701f87d8d1
2 changed files with 5 additions and 5 deletions
  1. 3 3
      extra/Configs/Config.in
  2. 2 2
      extra/Configs/Config.in.arch

+ 3 - 3
extra/Configs/Config.in

@@ -378,8 +378,8 @@ config UCLIBC_HAS_LFS
 
 choice
 	prompt "Malloc Implementation"
-	default MALLOC if ! ARCH_HAS_MMU
-	default MALLOC_STANDARD if ARCH_HAS_MMU
+	default MALLOC if ! ARCH_USE_MMU
+	default MALLOC_STANDARD if ARCH_USE_MMU
 	help
 	  "malloc" use mmap for all allocations and so works very well on MMU-less
 	  systems that do not support the brk() system call.   It is pretty smart
@@ -411,7 +411,7 @@ config MALLOC_SIMPLE
 
 config MALLOC_STANDARD
 	bool "malloc-standard"
-	depends on ARCH_HAS_MMU
+	depends on ARCH_USE_MMU
 
 endchoice
 

+ 2 - 2
extra/Configs/Config.in.arch

@@ -118,12 +118,12 @@ config KERNEL_SOURCE
 
 config UCLIBC_UCLINUX_BROKEN_MUNMAP
 	bool
-	depends on !ARCH_HAS_MMU
+	depends on !ARCH_USE_MMU
 	default y
 
 config EXCLUDE_BRK
 	bool
-	depends on !ARCH_HAS_MMU
+	depends on !ARCH_USE_MMU
 	default y
 
 config HAVE_DOT_CONFIG