This bring us in sync with linux-firmware 20230625 and add the needed firmware for i915kms GPUs supported in 6.1-lts and remove the one needed only in 5.4-lts which isn't supported anymore. Sponsored by: Beckhoff Automation GmbH & Co. KG
46 lines
980 B
Makefile
46 lines
980 B
Makefile
PORTNAME= gpu-firmware-intel-kmod
|
|
PORTVERSION= 20230625
|
|
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 \
|
|
cannonlake \
|
|
icelake \
|
|
elkhartlake \
|
|
tigerlake \
|
|
rocketlake \
|
|
dg1 \
|
|
dg2 \
|
|
alderlake
|
|
|
|
USES= kmod uidfix
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= freebsd
|
|
GH_PROJECT= drm-kmod-firmware
|
|
GH_TAGNAME= 20230625_4
|
|
|
|
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>
|