Changeset View
Changeset View
Standalone View
Standalone View
graphics/drm-kmod/Makefile
| Show All 9 Lines | |||||
| RUN_DEPENDS= gpu-firmware-kmod>=20220511:graphics/gpu-firmware-kmod | RUN_DEPENDS= gpu-firmware-kmod>=20220511:graphics/gpu-firmware-kmod | ||||
| .include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
| .if ${OPSYS} != FreeBSD | .if ${OPSYS} != FreeBSD | ||||
| IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality) | IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality) | ||||
| .else | .else | ||||
| . if ${OSVERSION} >= 1302000 && ${OSVERSION} < 1400097 | . if ${OSVERSION} >= 1500031 && ${ARCH} == amd64 | ||||
| RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-510-kmod | |||||
| _DRM_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le | |||||
| . elif ${OSVERSION} >= 1400097 && (${ARCH} == i386 || ${ARCH} == aarch64) | |||||
| RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-510-kmod | |||||
| _DRM_ARCHS= aarch64 i386 | |||||
| . elif ${OSVERSION} >= 1500031 && ${ARCH} == amd64 | |||||
| RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-66-kmod | RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-66-kmod | ||||
| _DRM_ARCHS= amd64 | _DRM_ARCHS= amd64 | ||||
| . elif ${OSVERSION} >= 1400508 | . else | ||||
| RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-61-kmod | RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-61-kmod | ||||
| _DRM_ARCHS= amd64 powerpc64 powerpc64le | _DRM_ARCHS= amd64 powerpc64 powerpc64le | ||||
| . else | |||||
| _DRM_ARCHS= | |||||
| . endif | . endif | ||||
| . if ! ${_DRM_ARCHS:M${ARCH}} | . if ! ${_DRM_ARCHS:M${ARCH}} | ||||
| IGNORE= not supported for this configuration | IGNORE= not supported for this configuration | ||||
| . endif | . endif | ||||
| .endif | .endif | ||||
| .include <bsd.port.mk> | .include <bsd.port.mk> | ||||