diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2025-01-14 09:57:55 -0800 |
|---|---|---|
| committer | Tom Hochstein <tom.hochstein@nxp.com> | 2025-01-17 13:28:16 -0800 |
| commit | fcf874bb22eb4a815b3c75fbff46ae30b6de45b3 (patch) | |
| tree | 507a933f8d5197945a6c9a701c2d3981353a5666 | |
| parent | b92810f60fe54e188a2653d3091bc7c81a979ae2 (diff) | |
| download | meta-freescale-fcf874bb22eb4a815b3c75fbff46ae30b6de45b3.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>
| -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 7d97f4755..053fbf3e7 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" |
