Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2013 09:17:22 +0000 (UTC)
From:      Jean-Sebastien Pedron <dumbbell@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254899 - head/sys/modules/drm2
Message-ID:  <201308260917.r7Q9HMlP038544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308260917.r7Q9HMlP038544>