1# $FreeBSD: releng/10.3/sys/modules/drm2/Makefile 291811 2015-12-04 18:44:12Z bdrewery $ 2 3.include <bsd.own.mk> 4 5.if ${MACHINE_CPUARCH} == "amd64" 6_i915kms= i915kms 7_radeonkms= radeonkms 8. if ${MK_SOURCELESS_UCODE} != "no" 9_radeonkmsfw= radeonkmsfw 10. endif 11.endif 12 13.if ${MACHINE_CPUARCH} == "i386" 14. if ${MACHINE} != "pc98" 15_i915kms= i915kms 16_radeonkms= radeonkms 17. if ${MK_SOURCELESS_UCODE} != "no" 18_radeonkmsfw= radeonkmsfw 19. endif 20. endif 21.endif 22 23.if ${MACHINE_CPUARCH} == "powerpc" 24_radeonkms= radeonkms 25. if ${MK_SOURCELESS_UCODE} != "no" 26_radeonkmsfw= radeonkmsfw 27. endif 28.endif 29 30SUBDIR = \ 31 drm2 \ 32 ${_i915kms} \ 33 ${_radeonkms} \ 34 ${_radeonkmsfw} 35 36.include <bsd.subdir.mk> 37