diff options
-rw-r--r-- | classes/fsl-vivante-kernel-driver-handler.bbclass | 4 |
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 |
34 | MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE ??= "1" | 34 | MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE ??= "${@d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT', False) or '0'}" |
35 | 35 | ||
36 | python fsl_vivante_kernel_driver_handler () { | 36 | python 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" |