5518972556
cnl firmwares are for cannonlake so introduce this module. cml firmwares are the GuC/HuC firmware for cometlake, which uses the dmc kabylake firmware so move them accordingly. Sponsored by: Beckhoff Automation GmbH & Co. KG
46 lines
988 B
Makefile
46 lines
988 B
Makefile
PORTNAME= gpu-firmware-intel-kmod
|
|
PORTVERSION= 20230210
|
|
PORTREVISION= 1
|
|
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 \
|
|
alderlake
|
|
|
|
USES= kmod uidfix
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= freebsd
|
|
GH_PROJECT= drm-kmod-firmware
|
|
GH_TAGNAME= 20230210_5
|
|
|
|
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>
|