diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2023-04-10 09:13:17 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-04-11 09:19:31 -0500 |
| commit | fa27f3d92416ea301b007b908fce5fb9bcfecc32 (patch) | |
| tree | 9b210c61712568ceae7901df0e9c211f50ba8d96 /meta-xilinx-core | |
| parent | 2f0788959fd50aa652b46edaaf159802037906cc (diff) | |
| download | meta-xilinx-fa27f3d92416ea301b007b908fce5fb9bcfecc32.tar.gz | |
meta_%.bbappend: Avoid contaminating mesa-native PACKAGECONFIG
Adding meta-xilinx-core was contaminating the PACKAGECONFIG hash when
building mesa-native. Workaround this by only adjusting the value
when class-target is defined.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core')
| -rw-r--r-- | meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend b/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend index 1b2230f7..8c0e7898 100644 --- a/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend | |||
| @@ -6,7 +6,7 @@ CONFLICT_DISTRO_FEATURES:class-target = "${@bb.utils.contains('MACHINE_FEATURES' | |||
| 6 | 6 | ||
| 7 | # Enable lima if not using libmali | 7 | # Enable lima if not using libmali |
| 8 | PACKAGECONFIG_MALI = "${@bb.utils.contains('DISTRO_FEATURES', 'libmali', '', 'lima', d)}" | 8 | PACKAGECONFIG_MALI = "${@bb.utils.contains('DISTRO_FEATURES', 'libmali', '', 'lima', d)}" |
| 9 | PACKAGECONFIG:append = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', '${PACKAGECONFIG_MALI}', '', d)}" | 9 | PACKAGECONFIG:append:class-target = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', '${PACKAGECONFIG_MALI}', '', d)}" |
| 10 | 10 | ||
| 11 | PACKAGE_ARCH_DEFAULT := "${PACKAGE_ARCH}" | 11 | PACKAGE_ARCH_DEFAULT := "${PACKAGE_ARCH}" |
| 12 | PACKAGE_ARCH = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', '${MACHINE_ARCH}', '${PACKAGE_ARCH_DEFAULT}', d)}" | 12 | PACKAGE_ARCH = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', '${MACHINE_ARCH}', '${PACKAGE_ARCH_DEFAULT}', d)}" |
