aboutsummaryrefslogtreecommitdiffstats
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
commit504aa02b8cba235c0b3cc986243e4e1c5b6a3433 (patch)
treef17d42ce88df88fa1593ee8a394fbeece8ce74a6
parent8bcb57d80d301c42fd52574ae7dcf5002e3c9e1f (diff)
downloadupstream-504aa02b8cba235c0b3cc986243e4e1c5b6a3433.tar.gz
upstream-504aa02b8cba235c0b3cc986243e4e1c5b6a3433.tar.bz2
upstream-504aa02b8cba235c0b3cc986243e4e1c5b6a3433.zip
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
+