From 5f49859ae2a39bc4f1fbc82410d96755ba4b2c9d Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 21 Aug 2009 22:32:09 +0000 Subject: [PATCH] busybox: adjust default config for nommu targets git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17348 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/busybox/target-config.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/package/busybox/target-config.in b/package/busybox/target-config.in index 61f13670c..b06556134 100644 --- a/package/busybox/target-config.in +++ b/package/busybox/target-config.in @@ -12,3 +12,22 @@ config BUSYBOX_CONFIG_FEATURE_2_6_MODULES bool default n if LINUX_2_4 default y if LINUX_2_6 + +config BUSYBOX_CONFIG_NOMMU + bool + depends NOMMU + default y if NOMMU + deselect BUSYBOX_CONFIG_ASH + deselect BUSYBOX_CONFIG_FEATURE_SH_IS_ASH + deselect BUSYBOX_CONFIG_LOCK + +config CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_HUSH + bool + default y if NOMMU + default n if !NOMMU + +config BUSYBOX_CONFIG_HUSH + bool + default y if NOMMU + default n if !NOMMU +