Date: Sat, 27 Oct 2012 23:14:37 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242197 - head/sys/modules/drm/via Message-ID: <201210272314.q9RNEbwa078952@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210272314.q9RNEbwa078952>