busybox: adjust default config for nommu targets
authorFelix Fietkau <nbd@openwrt.org>
Fri, 21 Aug 2009 22:32:09 +0000 (22:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 21 Aug 2009 22:32:09 +0000 (22:32 +0000)
SVN-Revision: 17348

package/busybox/target-config.in

index 61f13670c5a455f4a6e50dad5c6be893c81932ba..b06556134e70cf5c7a395bf60e8111f4cd5d5e88 100644 (file)
@@ -12,3 +12,22 @@ config BUSYBOX_CONFIG_FEATURE_2_6_MODULES
        bool
        default n if LINUX_2_4
        default y if LINUX_2_6
        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
+