[package] fix busybox's ping compilation when the fancy feature is turned off (#6489)
[openwrt-10.03/.git] / package / busybox / target-config.in
index 10a79ffdc830eab67b896ff5f954578a921287b5..b06556134e70cf5c7a395bf60e8111f4cd5d5e88 100644 (file)
@@ -1,11 +1,33 @@
 config BUSYBOX_CONFIG_FEATURE_DEVFS
+       bool
        default y if LINUX_2_4
        default n if LINUX_2_6
 
 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
+       bool
        default y if LINUX_2_4
        default n if LINUX_2_6
 
 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
+