diff options
author | Joonbum Ko <joonbum.ko@samsung.com> | 2024-09-11 11:37:49 +0900 |
---|---|---|
committer | Joonbum Ko <joonbum.ko@samsung.com> | 2024-09-11 11:37:52 +0900 |
commit | 0f1335ccedcb84b0ae5f7864da3b0f627165bf14 (patch) | |
tree | 0ef7d3477b856c20c6e54984329c44201e4d62cd /packaging/mesa.spec | |
parent | 2f26a97f6740be97af2fe80f3b2ab6a3024201eb (diff) | |
download | mesa-accepted/tizen_unified_x.tar.gz mesa-accepted/tizen_unified_x.tar.bz2 mesa-accepted/tizen_unified_x.zip |
disable to build gbmHEADtizen_9.0_m2_releaseaccepted/tizen/unified/x/asan/20241013.235801accepted/tizen/unified/x/20240912.013738accepted/tizen/unified/toolchain/20241004.101445accepted/tizen/unified/dev/20240913.055620accepted/tizen/unified/20240911.104740accepted/tizen/9.0/unified/20241030.234844tizen_9.0tizenaccepted/tizen_unified_x_asanaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
- mesa's libgbm causes conflicts with platform's libgbm
Change-Id: I70a3b9d7fc94ac14fe91c3117d273e2fcaa9180d
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
Diffstat (limited to 'packaging/mesa.spec')
-rw-r--r-- | packaging/mesa.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec index 824b3cabf39..59368d0e294 100644 --- a/packaging/mesa.spec +++ b/packaging/mesa.spec @@ -56,12 +56,17 @@ ExclusiveArch: %else %define USE_VULKAN 1 +%define USE_GBM 0 %define VULKAN_DRIVER broadcom %if %{USE_VULKAN} == 1 %enable_driver vulkan %endif +%if %{USE_GBM} == 1 +%enable_driver gbm +%endif + %enable_gallium_driver kmsro %enable_gallium_driver swrast %enable_gallium_driver vc4 @@ -72,7 +77,6 @@ ExclusiveArch: %define dri_drivers "auto" %endif -%enable_driver gbm %{echo: enabled gallium drivers : %{expand:%{gallium_drivers}}} @@ -127,7 +131,9 @@ mkdir -p %{buildroot}%{_hal_prefix}/share/vulkan/icd.d cp -a %{buildroot}%{_hal_libdir}/libEGL* %{buildroot}%{_hal_libdir}/driver/ cp -a %{buildroot}%{_hal_libdir}/libGLES* %{buildroot}%{_hal_libdir}/driver/ +%if %{expand:%{?enable_gbm:1}%{?!enable_gbm:0}} cp -a %{buildroot}%{_hal_libdir}/libgbm* %{buildroot}%{_hal_libdir}/driver/ +%endif mkdir -p %{buildroot}%{_hal_libdir}/udev/rules.d cp 99-GPU-Acceleration.rules %{buildroot}%{_hal_libdir}/udev/rules.d @@ -161,7 +167,7 @@ cp COPYING %{buildroot}%{_hal_prefix}/share/licenses/%{name}/ %{_hal_libdir}/dri/i915_dri.so %endif -%if %{enable_gbm} +%if %{expand:%{?enable_gbm:1}%{?!enable_gbm:0}} %{_hal_libdir}/driver/libgbm* %endif |