package/x11r7/xserver_xorg-server: move libpciaccess selection
authorRomain Naour <romain.naour@gmail.com>
Mon, 4 Jan 2016 00:11:49 +0000 (01:11 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 4 Jan 2016 23:18:05 +0000 (00:18 +0100)
Move libpciaccess selection under BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
to simplify.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/x11r7/xserver_xorg-server/Config.in

index f407d345961803673c02a5edfb9705e4730c9a8f..ac1369e0f411db282cca406876736042d23cb5c1 100644 (file)
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_XSERVER_XORG_SERVER
        bool "xorg-server"
        depends on BR2_USE_MMU # fork()
-       select BR2_PACKAGE_LIBPCIACCESS if BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
        # We need a SHA1 implementation. If either openssl or
        # libgcrypt are already part of the build, we'll use one of
        # them, otherwise, use the small libsha1 library.
@@ -96,6 +95,7 @@ config BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
        depends on BR2_INSTALL_LIBSTDCPP
        select BR2_PACKAGE_LIBDRM if (BR2_PACKAGE_XPROTO_XF86DRIPROTO || \
                BR2_PACKAGE_XPROTO_DRI2PROTO)
+       select BR2_PACKAGE_LIBPCIACCESS
        select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XPROTO_DRI3PROTO
        help
          This variant of the X.org server is the full-blown variant,