aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-08-21 22:32:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-08-21 22:32:09 +0000
commite43623701c066c20860ffac6dc03ee640090f70a (patch)
treed0d41e3859e4b51e1bcdb254e0154b6b4d4a3e86 /package/busybox
parentec7621ebf9e2a64ddfc0fd085f6e383609cf5bec (diff)
downloadupstream-e43623701c066c20860ffac6dc03ee640090f70a.tar.gz
upstream-e43623701c066c20860ffac6dc03ee640090f70a.tar.bz2
upstream-e43623701c066c20860ffac6dc03ee640090f70a.zip
busybox: adjust default config for nommu targets
SVN-Revision: 17348
Diffstat (limited to 'package/busybox')
-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
+