busybox: indent sub options
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 2 Apr 2010 10:27:21 +0000 (12:27 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 2 Apr 2010 10:29:37 +0000 (12:29 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/busybox/Config.in

index 514e022005cbda4dc8c34be02d96a68c5f327d72..7110f0f56865458669067fc748765797622a1828 100644 (file)
@@ -9,9 +9,10 @@ config BR2_PACKAGE_BUSYBOX
 
          Most people will answer Y.
 
+if BR2_PACKAGE_BUSYBOX
+
 choice
        prompt "BusyBox Version"
-       depends on BR2_PACKAGE_BUSYBOX
        default BR2_BUSYBOX_VERSION_1_16_X
        help
          Select the version of BusyBox you wish to use.
@@ -50,7 +51,6 @@ config BR2_BUSYBOX_VERSION
 
 config BR2_PACKAGE_BUSYBOX_FULLINSTALL
        bool "Run BusyBox's own full installation"
-       depends on BR2_PACKAGE_BUSYBOX
        default y
        help
          If you want to run BusyBox's own full install for the
@@ -63,7 +63,6 @@ config BR2_PACKAGE_BUSYBOX_FULLINSTALL
 
 config BR2_PACKAGE_BUSYBOX_CONFIG
        string "BusyBox configuration file to use?"
-       depends on BR2_PACKAGE_BUSYBOX
        default "package/busybox/busybox-1.16.x.config" if BR2_PACKAGE_BUSYBOX_SNAPSHOT
        default "package/busybox/busybox-1.11.x.config" if BR2_BUSYBOX_VERSION_1_12_X
        default "package/busybox/busybox-1.13.x.config" if BR2_BUSYBOX_VERSION_1_13_X
@@ -78,20 +77,22 @@ config BR2_PACKAGE_BUSYBOX_CONFIG
 
 config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
        bool "Show packages that are also provided by busybox" if BR2_PACKAGE_BUSYBOX
-       default y if !BR2_PACKAGE_BUSYBOX
        help
          Show packages in menuconfig that are potentially also provided
          by busybox.
 
 config BR2_PACKAGE_BUSYBOX_SKELETON
        bool "use minimal target skeleton"
-       depends on BR2_PACKAGE_BUSYBOX
        help
          Use a minimal target skeleton. Make sure to select mdev
          which is used to populate /dev/.
 
-#config BR2_PACKAGE_BUSYBOX_INITRAMFS
-#      bool "initramfs perusing busybox"
-#      depends on BR2_PACKAGE_BUSYBOX
-#      help
-#        Build small initramfs perusing busybox.
+endif
+
+if !BR2_PACKAGE_BUSYBOX # kconfig doesn't support else
+
+# add dummy config so the stuff with busybox alternatives are shown
+# when busybox is disabled
+config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+       default y
+endif