diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2025-01-14 09:57:55 -0800 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-01-21 15:17:16 +0000 |
commit | f6ab99568ac277e1d5af545bfce29ea82573a6b6 (patch) | |
tree | ea1db702e42c19c777ca9c555285610b92c6fd2c | |
parent | bdab4120eed6b14c513ec7250fa5abf70c753382 (diff) | |
download | meta-freescale-f6ab99568ac277e1d5af545bfce29ea82573a6b6.tar.gz |
imx-gpu-apitrace: Simplify package config logic
There's no need for the SOC-specific overrides.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit fcf874bb22eb4a815b3c75fbff46ae30b6de45b3)
-rw-r--r-- | recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb index 7d97f475..053fbf3e 100644 --- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb +++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb | |||
@@ -13,24 +13,20 @@ S = "${WORKDIR}/git" | |||
13 | 13 | ||
14 | inherit cmake pkgconfig perlnative python3native | 14 | inherit cmake pkgconfig perlnative python3native |
15 | 15 | ||
16 | PACKAGECONFIG_BACKEND:mx6-nxp-bsp = " \ | 16 | PACKAGECONFIG ??= " \ |
17 | egl \ | ||
18 | ${PACKAGECONFIG_BACKEND} \ | ||
19 | ${PACKAGECONFIG_GPU2D} \ | ||
20 | " | ||
21 | PACKAGECONFIG_BACKEND = " \ | ||
17 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ | 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ |
18 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | 23 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ |
19 | '', d), d)} \ | 24 | '', d), d)} \ |
20 | " | 25 | " |
21 | PACKAGECONFIG_BACKEND:mx7-nxp-bsp = "${PACKAGECONFIG_BACKEND:mx6-nxp-bsp}" | ||
22 | PACKAGECONFIG_BACKEND:mx8-nxp-bsp = "waffle" | ||
23 | PACKAGECONFIG_BACKEND:mx95-nxp-bsp = "waffle" | ||
24 | |||
25 | PACKAGECONFIG_GPU2D = "" | 26 | PACKAGECONFIG_GPU2D = "" |
26 | PACKAGECONFIG_GPU2D:imxgpu2d = "vivante" | 27 | PACKAGECONFIG_GPU2D:imxgpu2d = "vivante" |
27 | PACKAGECONFIG_GPU2D:mx95-nxp-bsp = "" | 28 | PACKAGECONFIG_GPU2D:mx95-nxp-bsp = "" |
28 | 29 | ||
29 | PACKAGECONFIG ??= " \ | ||
30 | egl \ | ||
31 | ${PACKAGECONFIG_BACKEND} \ | ||
32 | ${PACKAGECONFIG_GPU2D} \ | ||
33 | " | ||
34 | 30 | ||
35 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" | 31 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" |
36 | PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF" | 32 | PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF" |