svn commit: r242197 - head/sys/modules/drm/via
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sat Oct 27 23:14:38 UTC 2012
Author: nwhitehorn
Date: Sat Oct 27 23:14:37 2012
New Revision: 242197
URL: http://svn.freebsd.org/changeset/base/242197
Log:
Don't try to build Linux compatibility stuff on platforms without
COMPAT_LINUX.
Modified:
head/sys/modules/drm/via/Makefile
Modified: head/sys/modules/drm/via/Makefile
==============================================================================
--- head/sys/modules/drm/via/Makefile Sat Oct 27 23:12:05 2012 (r242196)
+++ head/sys/modules/drm/via/Makefile Sat Oct 27 23:14:37 2012 (r242197)
@@ -10,7 +10,8 @@ SRCS += device_if.h bus_if.h pci_if.h op
DRM_DEBUG_OPT= "\#define DRM_DEBUG 1"
.endif
-.if !defined(DRM_NOLINUX)
+.if !defined(DRM_NOLINUX) && \
+ (${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64")
DRM_LINUX_OPT= "\#define DRM_LINUX 1"
.endif
More information about the svn-src-head
mailing list