imx-gpu-viv: avoid pulling in kernel-module-imx-gpu-viv

We used to use BAD_RECOMMENDATIONS to remove this package in ccimx6 builds,
we enable the imx-gpu-viv driver as built-in in our kernel, but this method
isn't working anymore. Instead, undo the specific RRECOMMENDS that pulls the
module in.

Apply the change for the aarch32 version of the package only, since this change
is only needed for the ccimx6 platforms.

https://onedigi.atlassian.net/browse/DEL-8540

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2023-05-24 12:23:40 +02:00
parent 9c4bf2e744
commit 26798cfb93
2 changed files with 5 additions and 3 deletions

View File

@ -62,8 +62,5 @@ toolchain_create_sdk_dey_version[vardepsexclude] = "DATETIME"
#
DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'trustfence-sign-tools-native', '', d)}"
# Remove kernel-module-imx-gpu-viv from all images
BAD_RECOMMENDATIONS += "kernel-module-imx-gpu-viv"
# Do not include kernel in rootfs images
PACKAGE_EXCLUDE = "kernel-image-*"

View File

@ -0,0 +1,5 @@
# Copyright (C) 2023 Digi International
# We configure imx-gpu-viv driver as built-in, so there's no need to install
# the module.
RRECOMMENDS:libgal-imx:remove:ccimx6 = "kernel-module-imx-gpu-viv"