Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
fsl-vivante-kernel-driver-handler.bbclass: Allow build for non-i.MX6
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
otavio committed Jul 4, 2016
1 parent 95c678e commit f86b6cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/fsl-vivante-kernel-driver-handler.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
Expand Down

0 comments on commit f86b6cd

Please sign in to comment.