package/kernel-module-imx-gpu-viv: bear the kernel options munging
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 4 Apr 2020 12:10:34 +0000 (14:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 1 May 2020 13:50:29 +0000 (15:50 +0200)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Gary Bisson <bisson.gary@gmail.com>
Cc: Refik Tuzakli <tuzakli.refik@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
linux/linux.mk
package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk

index 6e2006836ea87b62257cb5cdba670131cffa7509..ad2efd948a711743bbe1e1f61524f25395bc2848 100644 (file)
@@ -359,8 +359,6 @@ define LINUX_KCONFIG_FIXUP_CMDS
                $(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS))
        $(if $(BR2_LINUX_KERNEL_APPENDED_DTB),
                $(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB))
-       $(if $(BR2_PACKAGE_KERNEL_MODULE_IMX_GPU_VIV),
-               $(call KCONFIG_DISABLE_OPT,CONFIG_MXC_GPU_VIV))
        $(if $(LINUX_KERNEL_CUSTOM_LOGO_PATH),
                $(call KCONFIG_ENABLE_OPT,CONFIG_FB)
                $(call KCONFIG_ENABLE_OPT,CONFIG_LOGO)
index e087ccaa12a00b38e7a5a7b3ddb827ad89c90ff0..a037858cfc31aad474060cbb57600e2a2270fa1d 100644 (file)
@@ -16,5 +16,9 @@ KERNEL_MODULE_IMX_GPU_VIV_MODULE_MAKE_OPTS = \
 
 KERNEL_MODULE_IMX_GPU_VIV_MODULE_SUBDIRS = kernel-module-imx-gpu-viv-src
 
+define KERNEL_MODULE_IMX_GPU_VIV_MODULE_LINUX_CONFIG_FIXUPS
+       $(call KCONFIG_DISABLE_OPT,CONFIG_MXC_GPU_VIV)
+endef
+
 $(eval $(kernel-module))
 $(eval $(generic-package))