summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-07-04 14:20:18 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-07-15 07:48:55 -0300
commitf7e8d04ac7e3f4564305249c43178fabd1cec30e (patch)
tree8f5183805ded9adcc4a278964285d60b096823f8 /classes
parent8032990d3561008ec327de6fbefcf1bd8b911ec8 (diff)
downloadmeta-freescale-f7e8d04ac7e3f4564305249c43178fabd1cec30e.tar.gz
fsl-vivante-kernel-driver-handler.bbclass: Allow build for non-i.MX6
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>
Diffstat (limited to 'classes')
-rw-r--r--classes/fsl-vivante-kernel-driver-handler.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/fsl-vivante-kernel-driver-handler.bbclass b/classes/fsl-vivante-kernel-driver-handler.bbclass
index cdd64506..e0578f4e 100644
--- a/classes/fsl-vivante-kernel-driver-handler.bbclass
+++ b/classes/fsl-vivante-kernel-driver-handler.bbclass
@@ -20,7 +20,7 @@
20# 0 - enable the builtin kernel driver module 20# 0 - enable the builtin kernel driver module
21# 1 - enable the external kernel module 21# 1 - enable the external kernel module
22# 22#
23# Copyright 2015 (C) O.S. Systems Software LTDA. 23# Copyright 2015, 2016 (C) O.S. Systems Software LTDA.
24# Released under the MIT license (see COPYING.MIT for the terms) 24# Released under the MIT license (see COPYING.MIT for the terms)
25 25
26# Handle Vivante kernel driver setting: 26# Handle Vivante kernel driver setting:
@@ -31,7 +31,7 @@ MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT ??= "0"
31# Use Vivante kernel driver module: 31# Use Vivante kernel driver module:
32# 0 - enable the builtin kernel driver module 32# 0 - enable the builtin kernel driver module
33# 1 - enable the external kernel module 33# 1 - enable the external kernel module
34MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE ??= "1" 34MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE ??= "${@d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT', False) or '0'}"
35 35
36python fsl_vivante_kernel_driver_handler () { 36python fsl_vivante_kernel_driver_handler () {
37 has_vivante_kernel_driver_support = e.data.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT', True) or "0" 37 has_vivante_kernel_driver_support = e.data.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT', True) or "0"