qt5base: use 'depends on' for directfb
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 18 Nov 2015 22:03:42 +0000 (23:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 18 Nov 2015 22:03:42 +0000 (23:03 +0100)
This is the only package where we select directfb. Change it to use depends
on to match what we do for the X11 backend.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qt5/qt5base/Config.in

index 603df457661f4edff4b694c8740142e4045f1359..7cadcb2b89138d42e00b371332c48be35d544b61 100644 (file)
@@ -178,11 +178,10 @@ config BR2_PACKAGE_QT5BASE_LINUXFB
 
 config BR2_PACKAGE_QT5BASE_DIRECTFB
        bool "directfb support"
-       select BR2_PACKAGE_DIRECTFB
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 # directfb
+       depends on BR2_PACKAGE_DIRECTFB
 
-comment "directfb needs a toolchain w/ gcc >= 4.5"
-       depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
+comment "directfb backend if directb is enabled"
+       depends on !BR2_PACKAGE_DIRECTFB
 
 config BR2_PACKAGE_QT5BASE_XCB
        bool "X.org XCB support"