Skip to contentSkip to conversation

package/intel-mediasdk: add missing BR2_TOOLCHAIN_GCC_AT_LEAST_8 dependency

Buildroot Julien Olivain via buildroot 1 participant 1 message Sep 13

lore
Share & tools
lore
#0 lore raw

commit: https://gitlab.com/buildroot.org/buildroot/-/commit/fa38fea91c4677af141f8012723f9263a4f00ae1
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/master

BR2_PACKAGE_INTEL_MEDIASDK selects BR2_PACKAGE_INTEL_MEDIADRIVER but forgets to propagate the "depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8".

This issue was introduced in commit 51b60c8acf3f4b534d0954b801f1034491b59c94, when "depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8" was added to mesa3d, propagated to intel-mediadriver, but not intel-mediasdk.

Fixes 51b60c8acf3f4b534d0954b801f1034491b59c94 ("package/mesa3d: needs gcc >= 8")
---
 package/intel-mediasdk/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/intel-mediasdk/Config.in +4 -2
index c1f609e3f8..7738dcbbeb 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_INTEL_MEDIASDK
 	depends on BR2_x86_64
 	depends on !BR2_STATIC_LIBS # intel-mediadriver
 	depends on BR2_INSTALL_LIBSTDCPP # intel-mediadriver
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # intel-mediadriver
 	depends on BR2_TOOLCHAIN_HAS_SYNC_1 # intel-mediadriver
 	depends on BR2_TOOLCHAIN_HAS_THREADS # intel-mediadriver
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # intel-mediadriver
@@ -20,7 +21,8 @@ config BR2_PACKAGE_INTEL_MEDIASDK
 
 	  http://mediasdk.intel.com/
 
-comment "intel-mediasdk needs a toolchain w/ dynamic library, C++, NPTL"
+comment "intel-mediasdk needs a toolchain w/ dynamic library, gcc >= 8, C++, NPTL"
 	depends on BR2_x86_64 && BR2_TOOLCHAIN_HAS_SYNC_1
 	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
-		!BR2_TOOLCHAIN_HAS_THREADS_NPTL
+		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_8

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot