From patchwork Sun Jan 6 21:29:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [08/28] x11r7: do not globally select libraries From: Thomas Petazzoni X-Patchwork-Id: 209824 Message-Id: To: buildroot@busybox.net Date: Sun, 6 Jan 2013 22:29:20 +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 --- package/x11r7/Config.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in index 6940725..706574c 100644 --- a/package/x11r7/Config.in +++ b/package/x11r7/Config.in @@ -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