package/intel-mediasdk: disable samples and tutorials
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 22 Feb 2021 17:00:48 +0000 (18:00 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 25 Feb 2021 21:11:40 +0000 (22:11 +0100)
Disable samples and tutorials which are enabled by default and fail to
build with gcc 10 without upstream commit:
https://github.com/Intel-Media-SDK/MediaSDK/commit/c7d40371eb0c2042261fe1f91a364f69a1457235

Fixes:
 - http://autobuild.buildroot.org/results/9ee28e5dc0b2ba854766d9bc82b95c28be2722d3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/intel-mediasdk/intel-mediasdk.mk

index a2ffe081db58ef29ed97952ed34fbc8f7b587778..5467c963801927be94eb53262ea3eb8c70896561 100644 (file)
@@ -12,6 +12,9 @@ INTEL_MEDIASDK_LICENSE_FILES = LICENSE
 INTEL_MEDIASDK_INSTALL_STAGING = YES
 INTEL_MEDIASDK_DEPENDENCIES = intel-mediadriver
 
-INTEL_MEDIASDK_CONF_OPTS = -DMFX_INCLUDE="$(@D)/api/include"
+INTEL_MEDIASDK_CONF_OPTS = \
+       -DBUILD_SAMPLES=OFF \
+       -DBUILD_TUTORIALS=OFF \
+       -DMFX_INCLUDE="$(@D)/api/include"
 
 $(eval $(cmake-package))