summaryrefslogtreecommitdiffstats
path: root/classes/fsl-vivante-kernel-driver-handler.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* fsl-vivante-kernel-driver-handler.bbclass: Allow build for non-i.MX6Otavio Salvador2016-07-151-2/+2
| | | | | | | | | When building for non-i.MX6, we ought to assume the SoC does not has Vivante GPU at all, or the build will fail. This fixes the build of linux-fslc-imx-rt for i.MX7D as it does not have a Vivante GPU. Change-Id: Ic8fc4808880aca381e88f6e1b6c52416bb4520c4 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-vivante-kernel-driver-handler.bbclass: Postpone defconfig changesOtavio Salvador2016-04-191-8/+6
| | | | | | | | The defconfig changes should be done later in the process so the .config file is generated, using any other mean, and mangled to respect the distribution setting regarding the module use or not. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-vivante-kernel-driver-handler.bbclass: Handle Vivante kernel driver providerOtavio Salvador2016-04-191-0/+65
Enable the kernel to provide or not the Vivante kernel driver and dynamically set the proper providers per machine. The following options are supported: MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT Machine does or does not have support for the Vivante kernel driver, options are: 0 - machine does not have Vivante GPU driver support 1 - machine has Vivante GPU driver support MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE Machine uses the Vivante kernel driver as module, options are: 0 - enable the builtin kernel driver module 1 - enable the external kernel module Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>