]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/ti-gfx: require kernel modules from Kconfig
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 10 Dec 2015 18:53:18 +0000 (19:53 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 29 Dec 2015 22:52:39 +0000 (23:52 +0100)
And reorder 'depends' before 'select'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ti-gfx/Config.in
package/ti-gfx/ti-gfx.mk

index 4ee862291d1d41ced3293017b55de1fef9d9a632..de4e9cbf01a02a00f7d9f2cf7a21688f7e9932b8 100644 (file)
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_TI_GFX
        bool "ti-gfx"
+       depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
        select BR2_PACKAGE_HAS_LIBEGL
        select BR2_PACKAGE_HAS_LIBGLES
        select BR2_PACKAGE_HAS_POWERVR
        select BR2_PACKAGE_FBSET if !BR2_PACKAGE_BUSYBOX # Runtime dependency only
-       depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
+       select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
        help
          Graphics libraries for TI boards.
 
index d23985f9a892a8c48ed26c308bfcfd9fbcbac860..47eb474c0038d930606a56435e61f1d3559f87f5 100644 (file)
@@ -22,12 +22,6 @@ TI_GFX_INSTALL_STAGING = YES
 
 TI_GFX_DEPENDENCIES = linux
 
-# We're building a kernel module without using the kernel-module infra,
-# so we need to tell we want module support in the kernel
-ifeq ($(BR2_PACKAGE_TI_GFX),y)
-LINUX_NEEDS_MODULES = y
-endif
-
 TI_GFX_PROVIDES = libegl libgles powervr
 
 ifeq ($(BR2_PACKAGE_TI_GFX_ES3),y)