aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2020-01-16 10:44:21 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2020-02-07 21:24:35 -0300
commit0a1da3b98c09fa135e3ff50c03d96cd9d7a578a2 (patch)
tree2288fabe533a889bd90af6d5103ef3550f0dd93c
parent610f109acc264d5b0bd79aefcfa61b72456da90a (diff)
downloadmeta-freescale-0a1da3b98c09fa135e3ff50c03d96cd9d7a578a2.tar.gz
meta-freescale-0a1da3b98c09fa135e3ff50c03d96cd9d7a578a2.tar.bz2
meta-freescale-0a1da3b98c09fa135e3ff50c03d96cd9d7a578a2.zip
fsl-vivante-kernel-driver-handler: Fix kernel name in variable assignment
If the graphics driver is built into the kernel, a warning is generated for each i.MX kernel recipe, like this: WARNING: /home/r60874/zeus/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.4.bb: Variable key RPROVIDES_${KERNEL_PACKAGE_NAME}-base ( ${KERNEL_PACKAGE_NAME}-${KERNEL_VERSION}) replaces original key RPROVIDES_kernel-base ( kernel-module-imx-gpu-viv). The problem is that the kernel name used in variables is no longer a constant 'kernel', but is now parameterized: https://github.com/openembedded/openembedded-core/commit/6c8c899849d101fd1b86aad0b8eed05c7c785924 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
-rw-r--r--classes/fsl-vivante-kernel-driver-handler.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/fsl-vivante-kernel-driver-handler.bbclass b/classes/fsl-vivante-kernel-driver-handler.bbclass
index e0578f4e..8ac8a334 100644
--- a/classes/fsl-vivante-kernel-driver-handler.bbclass
+++ b/classes/fsl-vivante-kernel-driver-handler.bbclass
@@ -41,9 +41,9 @@ python fsl_vivante_kernel_driver_handler () {
return
if use_vivante_kernel_driver_module != "1":
- e.data.appendVar('RPROVIDES_kernel-base', ' kernel-module-imx-gpu-viv')
- e.data.appendVar('RREPLACES_kernel-base', ' kernel-module-imx-gpu-viv')
- e.data.appendVar('RCONFLICTS_kernel-base', ' kernel-module-imx-gpu-viv')
+ e.data.appendVar('RPROVIDES_${KERNEL_PACKAGE_NAME}-base', ' kernel-module-imx-gpu-viv')
+ e.data.appendVar('RREPLACES_${KERNEL_PACKAGE_NAME}-base', ' kernel-module-imx-gpu-viv')
+ e.data.appendVar('RCONFLICTS_${KERNEL_PACKAGE_NAME}-base', ' kernel-module-imx-gpu-viv')
}
addhandler fsl_vivante_kernel_driver_handler