42a58a9bcb
Rebased patch 0001 and removed another hardening flag. Removed patch 0002 which was backported from upstream commit. Renumbered and rebased patch 0003. Reformatted hashes. Reworked X11 support as it is an optional dependency: https://github.com/intel/media-driver/pull/494 Release notes: https://github.com/intel/media-driver/releases/tag/intel-media-21.2.3 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
929 B
Makefile
33 lines
929 B
Makefile
################################################################################
|
|
#
|
|
# intel-mediadriver
|
|
#
|
|
################################################################################
|
|
|
|
# based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack
|
|
|
|
INTEL_MEDIADRIVER_VERSION = 21.2.3
|
|
INTEL_MEDIADRIVER_SITE = http://github.com/intel/media-driver/archive
|
|
INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz
|
|
INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause
|
|
INTEL_MEDIADRIVER_LICENSE_FILES = LICENSE.md
|
|
|
|
INTEL_MEDIADRIVER_DEPENDENCIES = \
|
|
intel-gmmlib \
|
|
libpciaccess \
|
|
libva \
|
|
mesa3d
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
|
INTEL_MEDIADRIVER_DEPENDENCIES += xlib_libX11
|
|
endif
|
|
|
|
INTEL_MEDIADRIVER_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
|
|
INTEL_MEDIADRIVER_CONF_OPTS = \
|
|
-DINSTALL_DRIVER_SYSCONF=OFF \
|
|
-DMEDIA_BUILD_FATAL_WARNINGS=OFF \
|
|
-DMEDIA_RUN_TEST_SUITE=OFF
|
|
|
|
$(eval $(cmake-package))
|