diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-01-25 09:55:52 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2022-01-25 09:55:52 -0300 |
commit | baf0596c63b816e70174c5d464e0c25196d0f7f8 (patch) | |
tree | ab610470abb6d3505eb3cd713cbeb53a45beb74e /classes/fsl-vivante-kernel-driver-handler.bbclass | |
parent | ee9e4c6a74fa31333d8424ec2c016cf7b8c01acb (diff) | |
download | meta-freescale-baf0596c63b816e70174c5d464e0c25196d0f7f8.tar.gz |
fsl-vivante-kernel-driver-handler.bbclass: Fix multilib supporttopic/fix-multilib-support
Building core-image-weston with multilib support and builtin graphics
fails:
```
ERROR: Nothing PROVIDES 'virtual/arm-oelmllib32-linux-gnueabi-binutils'. Close matches:
virtual/lib32-arm-oelmllib32-linux-gnueabi-binutils
virtual/lib32-arm-oelmllib32-linux-gnueabi-go-runtime
virtual/lib32-arm-oelmllib32-linux-gnueabi-rust
ERROR: Nothing PROVIDES 'virtual/arm-oelmllib32-linux-gnueabi-gcc'. Close matches:
virtual/lib32-arm-oelmllib32-linux-gnueabi-g++
virtual/lib32-arm-oelmllib32-linux-gnueabi-gcc
virtual/lib32-arm-oelmllib32-linux-gnueabi-rust
```
This is the configuration added in local.conf:
```
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon"
IMAGE_INSTALL:append = " lib32-glibc lib32-libgcc lib32-libstdc++"
MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE = "0"
```
This commit fixes the provides so BitBake can properly handle the
dependencies.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'classes/fsl-vivante-kernel-driver-handler.bbclass')
-rw-r--r-- | classes/fsl-vivante-kernel-driver-handler.bbclass | 6 |
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 54954aab..c226b0ab 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 () { | |||
41 | return | 41 | return |
42 | 42 | ||
43 | if use_vivante_kernel_driver_module != "1": | 43 | if use_vivante_kernel_driver_module != "1": |
44 | e.data.appendVar('RPROVIDES:${KERNEL_PACKAGE_NAME}-base', ' kernel-module-imx-gpu-viv') | 44 | e.data.appendVar('RPROVIDES:${KERNEL_PACKAGE_NAME}-base', ' ${MLPREFIX}kernel-module-imx-gpu-viv') |
45 | e.data.appendVar('RREPLACES:${KERNEL_PACKAGE_NAME}-base', ' kernel-module-imx-gpu-viv') | 45 | e.data.appendVar('RREPLACES:${KERNEL_PACKAGE_NAME}-base', ' ${MLPREFIX}kernel-module-imx-gpu-viv') |
46 | e.data.appendVar('RCONFLICTS:${KERNEL_PACKAGE_NAME}-base', ' kernel-module-imx-gpu-viv') | 46 | e.data.appendVar('RCONFLICTS:${KERNEL_PACKAGE_NAME}-base', ' ${MLPREFIX}kernel-module-imx-gpu-viv') |
47 | } | 47 | } |
48 | 48 | ||
49 | addhandler fsl_vivante_kernel_driver_handler | 49 | addhandler fsl_vivante_kernel_driver_handler |