summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-21 22:32:09 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-21 22:32:09 +0000
commit5f49859ae2a39bc4f1fbc82410d96755ba4b2c9d (patch)
treef17d42ce88df88fa1593ee8a394fbeece8ce74a6
parentc242bd9944db367c19b3acc7b2e05e82c7ce8b7f (diff)
busybox: adjust default config for nommu targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17348 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/busybox/target-config.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/busybox/target-config.in b/package/busybox/target-config.in
index 61f13670c5..b06556134e 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
+