x11r7: do not globally select libraries
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 6 Jan 2013 11:29:20 +0000 (11:29 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 12 Jan 2013 21:34:37 +0000 (22:34 +0100)
It doesn't make sense for BR2_PACKAGE_XORG7 to globally select
libraries such as libpng, zlib, expat or fontconfig. For example, if
you do a build with just xlib_libX11, then libpng gets built as the
last package, without anybody actually depending on it, even if it was
selected by BR2_PACKAGE_XORG7.

The individual x11r7 packages should select the libraries they need,
and add them in their DEPENDENCIES variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/x11r7/Config.in

index 6940725f13e9c876fa0a1f9d177326e8fa5f8c32..706574c6e396bf763c49d0e57cba7a4da3747bbf 100644 (file)
@@ -1,9 +1,5 @@
 menuconfig BR2_PACKAGE_XORG7
        bool "X.org X Window System"
-       select BR2_PACKAGE_ZLIB
-       select BR2_PACKAGE_LIBPNG
-       select BR2_PACKAGE_EXPAT
-       select BR2_PACKAGE_FONTCONFIG
        depends on BR2_USE_WCHAR
        help
          Support for X11R7 libraries, servers, drivers, and/or