svn commit: r254899 - head/sys/modules/drm2

Jean-Sebastien Pedron dumbbell at FreeBSD.org
Mon Aug 26 09:17:22 UTC 2013


Author: dumbbell
Date: Mon Aug 26 09:17:21 2013
New Revision: 254899
URL: http://svnweb.freebsd.org/changeset/base/254899

Log:
  drm/radeon: Disable build on i386/pc98

Modified:
  head/sys/modules/drm2/Makefile

Modified: head/sys/modules/drm2/Makefile
==============================================================================
--- head/sys/modules/drm2/Makefile	Mon Aug 26 07:48:50 2013	(r254898)
+++ head/sys/modules/drm2/Makefile	Mon Aug 26 09:17:21 2013	(r254899)
@@ -2,14 +2,26 @@
 
 .include <bsd.own.mk>
 
-.if ${MK_SOURCELESS_UCODE} != "no"
+.if ${MACHINE_CPUARCH} == "amd64"
+_radeonkms=	radeonkms
+. if ${MK_SOURCELESS_UCODE} != "no"
 _radeonkmsfw=	radeonkmsfw
+. endif
+.endif
+
+.if ${MACHINE_CPUARCH} == "i386"
+. if ${MACHINE} != "pc98"
+_radeonkms=	radeonkms
+.  if ${MK_SOURCELESS_UCODE} != "no"
+_radeonkmsfw=	radeonkmsfw
+.  endif
+. endif
 .endif
 
 SUBDIR = \
 	drm2 \
 	i915kms \
-	radeonkms \
+	${_radeonkms} \
 	${_radeonkmsfw}
 
 .include <bsd.subdir.mk>


More information about the svn-src-all mailing list