reorganize/rationalize/format package menuconfig, make updatedd modular
[openwrt/staging/mkresin.git] / openwrt / package / glib / Config.in
index d5859f58aff4f6dcf71e0f6a5983f5c67c6bac07..1ec23b9ef76e8d9d7f4a6251e8c564b3452d51ac 100644 (file)
@@ -1,6 +1,12 @@
+config BR2_COMPILE_GLIB
+       bool
+       depends BR2_PACKAGE_GLIB1
+
 config BR2_PACKAGE_GLIB1
-       tristate "glib 1.2 - The GLib library of C routines"
+       prompt "glib1............................. The GLib library of C routines (v1.2)"
+       tristate
        default m if CONFIG_DEVEL
+       select BR2_COMPILE_GLIB
        select BR2_PACKAGE_LIBPTHREAD
        help
          GLib is a library containing many useful C routines for things such
@@ -9,7 +15,4 @@ config BR2_PACKAGE_GLIB1
          http://www.gtk.org/
          
          Depends: libpthread
-         
-config BR2_PACKAGE_GLIB
-       tristate
-       default BR2_PACKAGE_GLIB1
+