2f7a5f407a
This adds the DMC firmware for the dg1 (Intel® Iris® Xe MAX Graphics 96U). This also adds the GuC firmware v49.0.1 used in Linux 5.12 Sponsored by: Beckhoff Automation GmbH & Co. KG
44 lines
956 B
Makefile
44 lines
956 B
Makefile
PORTNAME= gpu-firmware-intel-kmod
|
|
PORTVERSION= 20221213
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= Firmware modules for ${FLAVOR} Intel GPUs
|
|
WWW= https://github.com/freebsd/drm-kmod-firmware
|
|
|
|
LICENSE= INTEL
|
|
LICENSE_NAME= Intel firmware license (i915)
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.i915
|
|
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
ONLY_FOR_ARCHS_REASON= Intel GPUs are only available on x86
|
|
|
|
PKGNAMESUFFIX= -${FLAVOR:C/_/-/g}
|
|
FLAVORS= skylake \
|
|
broxton \
|
|
kabylake \
|
|
geminilake \
|
|
coffeelake \
|
|
icelake \
|
|
elkhartlake \
|
|
tigerlake \
|
|
rocketlake \
|
|
dg1
|
|
|
|
USES= kmod uidfix
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= freebsd
|
|
GH_PROJECT= drm-kmod-firmware
|
|
GH_TAGNAME= 20221213
|
|
|
|
MAKE_ENV= KMODS="i915kmsfw"
|
|
MAKE_ENV+= I915KMODS="${FLAVOR}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PLIST_SUB+= ${FLAVORS:N${FLAVOR}:@v@${v:tu}="\@comment "@}
|
|
PLIST_SUB+= ${FLAVOR:tu}=""
|
|
|
|
.include <bsd.port.post.mk>
|