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.
Signed-off-by: Otavio Salvador <[email protected]> --- classes/fsl-vivante-kernel-driver-handler.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/fsl-vivante-kernel-driver-handler.bbclass b/classes/fsl-vivante-kernel-driver-handler.bbclass index cdd6450..e0578f4 100644 --- a/classes/fsl-vivante-kernel-driver-handler.bbclass +++ b/classes/fsl-vivante-kernel-driver-handler.bbclass @@ -20,7 +20,7 @@ # 0 - enable the builtin kernel driver module # 1 - enable the external kernel module # -# Copyright 2015 (C) O.S. Systems Software LTDA. +# Copyright 2015, 2016 (C) O.S. Systems Software LTDA. # Released under the MIT license (see COPYING.MIT for the terms) # Handle Vivante kernel driver setting: @@ -31,7 +31,7 @@ MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT ??= "0" # Use Vivante kernel driver module: # 0 - enable the builtin kernel driver module # 1 - enable the external kernel module -MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE ??= "1" +MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE ??= "${@d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT', False) or '0'}" python fsl_vivante_kernel_driver_handler () { has_vivante_kernel_driver_support = e.data.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT', True) or "0" -- 2.9.0 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
