package: Kconfig: use menu instead of menuconfig for sub menus
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 14 Nov 2008 12:59:14 +0000 (12:59 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 14 Nov 2008 12:59:14 +0000 (12:59 -0000)
As discussed on the list - These things should normally not be
(un)selectable.

package/Config.in
package/audio/Config.in
package/database/Config.in
package/editors/Config.in
package/games/Config.in
package/java/Config.in

index 84aaa3eab8b67e84ebeab5643ff34c11c1f7305a..a2ff72af916f2ad17d2b966877bf487debd61d01 100644 (file)
@@ -26,15 +26,6 @@ source "package/sed/Config.in"
 source "package/tar/Config.in"
 endif
 
-#menuconfig BR2_APPLICATION_SUPPORT
-#      bool "Common Applications"
-#      default y
-#      help
-#        A set of applications, utilities and libraries for
-#        text processing, toolchain generation and other things.
-
-
-#if BR2_APPLICATION_SUPPORT
 comment "Other development stuff"
 source "package/autoconf/Config.in"
 source "package/automake/Config.in"
@@ -130,13 +121,8 @@ source "package/editors/Config.in"
 
 endif
 
-menuconfig BR2_NETWORK_SUPPORT
-       bool "Networking"
-       default y
-       help
-         Support for communication, networking and related packages
+menu "Networking"
 
-if BR2_NETWORK_SUPPORT
 comment "Networking applications"
 source "package/argus/Config.in"
 source "package/avahi/Config.in"
@@ -229,16 +215,9 @@ source "package/wget/Config.in"
 endif
 source "package/wireless-tools/Config.in"
 
-endif
-
-menuconfig BR2_BLOCKDEV_SUPPORT
-       bool "Hardware handling / blockdevices and filesystem maintenance"
-       default y
-       help
-         Support for hardware handling and maintenance, block devices,
-         filesystem creation and maintenance.
+endmenu
 
-if BR2_BLOCKDEV_SUPPORT
+menu "Hardware handling / blockdevices and filesystem maintenance"
 source "package/acpid/Config.in"
 source "package/dbus/Config.in"
 source "package/dbus-glib/Config.in"
@@ -287,19 +266,12 @@ source "package/usbmount/Config.in"
 source "package/usbutils/Config.in"
 source "package/wipe/Config.in"
 source "package/xfsprogs/Config.in"
-endif
+endmenu
 
 # Audio support
 source "package/audio/Config.in"
 
-menuconfig BR2_GRAPHIC_SUPPORT
-       bool "Graphic libraries and applications (graphic/text)"
-       default y
-       help
-         Support for graphic libraries, X Window system and related
-         packages, graphical toolkits, etc.
-
-if BR2_GRAPHIC_SUPPORT
+menu "Graphic libraries and applications (graphic/text)"
 comment "text rendering libraries"
 source "package/ncurses/Config.in"
 source "package/newt/Config.in"
@@ -413,65 +385,45 @@ source "package/xvkbd/Config.in"
 comment "Video libraries/codecs and applications"
 source "package/mplayer/Config.in"
 source "package/vlc/Config.in"
-endif
+endmenu
 
-menuconfig BR2_COMPRESSOR_SUPPORT
-       bool "Compressors / decompressors"
-       default y
-       help
-         Support for compressors and decompressors like lzo, lzma, bzip2
+menu "Compressors / decompressors"
 
-if BR2_COMPRESSOR_SUPPORT
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/gzip/Config.in"
 endif
 source "package/lzo/Config.in"
 source "package/lzma/Config.in"
 source "package/zlib/Config.in"
-endif
+endmenu
 
-menuconfig BR2_PACKAGEMGRS_SUPPORT
-       bool "Package managers"
-       default y
-       help
-         Support for package managers like rpm, portage, ipkg, ..
+menu "Package managers"
 
-if BR2_PACKAGEMGRS_SUPPORT
 source "package/ipkg/Config.in"
 source "package/portage/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/rpm/Config.in"
 endif
-endif
+endmenu
 
-menuconfig BR2_SCRIPTING_SUPPORT
-       bool "Interpreter languages / Scripting"
-       default y
-       help
-         Support for scripting languages, interpreter languages.
+menu "Interpreter languages / Scripting"
 
-if BR2_SCRIPTING_SUPPORT
 source "package/lua/Config.in"
 source "package/microperl/Config.in"
 source "package/python/Config.in"
 source "package/ruby/Config.in"
 source "package/tcl/Config.in"
 source "package/php/Config.in"
-endif
+endmenu
 
-menuconfig BR2_XML_SUPPORT
-       bool "XML handling"
-       default y
-       help
-         Support for XML handling
+menu "XML handling"
 
-if BR2_XML_SUPPORT
 source "package/expat/Config.in"
 source "package/ezxml/Config.in"
 source "package/libxml2/Config.in"
 source "package/libxslt/Config.in"
 source "package/xerces/Config.in"
-endif
+endmenu
 
 # java support
 source "package/java/Config.in"
index 370467a2e7bbb3572b418691680365d709d4c391..1a2bbe0fb86151dffb8e6e60cc49e80981fdfe1c 100644 (file)
@@ -1,10 +1,4 @@
-menuconfig BR2_AUDIO_SUPPORT
-       bool "Audio libraries and applications"
-       default y
-       help
-         Support for audio libraries and applications
-
-if BR2_AUDIO_SUPPORT
+menu "Audio libraries and applications"
 source "package/audio/alsa-lib/Config.in"
 source "package/audio/alsa-utils/Config.in"
 source "package/audio/asterisk/Config.in"
@@ -18,4 +12,4 @@ source "package/audio/madplay/Config.in"
 source "package/audio/mpg123/Config.in"
 source "package/audio/speex/Config.in"
 source "package/audio/festival/Config.in"
-endif
+endmenu
index 71593d7dc471459dc7962cc774f1cc6a7356d74d..029b7cd5869ea5bb21be4632537ed3e52556d45c 100644 (file)
@@ -1,8 +1,4 @@
-menuconfig BR2_DATABASE_SUPPORT
-       bool "Database"
-       default y
-
-if BR2_DATABASE_SUPPORT
+menu "Database"
 source "package/database/mysql_client/Config.in"
 source "package/database/sqlite/Config.in"
-endif
+endmenu
index b4e7e402367933f1f1604ad2ba5d8d5d541352ee..a1b5fd3ac63b3b4c32dc0df5c5d15bedb96b4377 100644 (file)
@@ -1,12 +1,6 @@
-menuconfig BR2_TEXTEDIT_SUPPORT
-       bool "Text editors"
-       default y
-       help
-         Support for text editors
-
-if BR2_TEXTEDIT_SUPPORT
+menu "Text editors"
 source "package/editors/ed/Config.in"
 source "package/editors/nano/Config.in"
 source "package/editors/uemacs/Config.in"
 source "package/editors/vim/Config.in"
-endif
+endmenu
index 4d730279627c93e38fcfab0a536088d8646162d5..000a01402c27a840573adfa554ff1e823bcd4c9c 100644 (file)
@@ -1,10 +1,4 @@
-menuconfig BR2_GAMES
-       bool "Games"
-       default y
-       help
-         Support for games
-
-if BR2_GAMES
+menu "Games"
 source "package/games/ace_of_penguins/Config.in"
 source "package/games/doom-wad/Config.in"
 source "package/games/gnuchess/Config.in"
@@ -14,4 +8,4 @@ source "package/games/prboom/Config.in"
 source "package/games/rubix/Config.in"
 source "package/games/vice/Config.in"
 source "package/games/xboard/Config.in"
-endif
+endmenu
index 1ed0475a0aecfc5bfd7616f9ab446cc89e56c778..3f17f91adfd477bbb0d41670c5fff416faad72a2 100644 (file)
@@ -1,11 +1,5 @@
-menuconfig BR2_JAVA_SUPPORT
-        bool "Java"
-        default y
-        help
-          Support java programs (classpath, vm, osgi)
-
-if BR2_JAVA_SUPPORT
+menu "Java"
 source "package/java/classpath/Config.in"
 source "package/java/jamvm/Config.in"
 source "package/java/concierge/Config.in"
-endif
+endmenu