[backfire] firewall: merge r28535
[openwrt-10.03/.git] / package / busybox / Config.in
index 4f72994af54d1e745c0cc127f5c475c53f899e61..1002a5a0d6bd5c9e81ab51881e8db4dcd826830a 100644 (file)
@@ -1,26 +1,39 @@
-config BR2_PACKAGE_BUSYBOX
-       bool "busybox"
-       default y
-       help
-         The Swiss Army Knife of embedded Linux.  It slices, it dices, it
-         makes Julian Fries.
-
-         http://busybox.net/
-
-         Most people will answer Y.
-
-config BR2_PACKAGE_BUSYBOX_SNAPSHOT
-       bool "Use the daily snapshot of busybox?"
-       depends BR2_PACKAGE_BUSYBOX
-       default n
-       help
-         Use the latest busybox CVS snapshot instead of release.
-
-         For fun, you should say Y.
-         
-menu "Busybox Configuration"
-       depends BR2_PACKAGE_BUSYBOX
-
-source package/busybox/config/Config.in
+menu "Configuration"
+       depends on PACKAGE_busybox
+
+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
+
+source "package/busybox/config/Config.in"
 
 endmenu