Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2011 16:17:17 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228026 - head/sys/modules/cam
Message-ID:  <201111271617.pARGHHOf046672@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sun Nov 27 16:17:17 2011
New Revision: 228026
URL: http://svn.freebsd.org/changeset/base/228026

Log:
  Compile cam_machdep.c if it exists, missed in r228022.

Modified:
  head/sys/modules/cam/Makefile

Modified: head/sys/modules/cam/Makefile
==============================================================================
--- head/sys/modules/cam/Makefile	Sun Nov 27 15:53:58 2011	(r228025)
+++ head/sys/modules/cam/Makefile	Sun Nov 27 16:17:17 2011	(r228026)
@@ -16,8 +16,11 @@ SRCS+=	opt_pt.h
 SRCS+=	opt_sa.h
 SRCS+=	opt_ses.h
 SRCS+=	device_if.h bus_if.h vnode_if.h
-SRCS+=	cam.c cam_periph.c cam_queue.c
-SRCS+=	cam_sim.c cam_xpt.c
+SRCS+=	cam.c
+.if exists($S/${MACHINE}/${MACHINE}/cam_machdep.c)
+SRCS+=	cam_machdep.c
+.endif
+SRCS+=	cam_periph.c cam_queue.c cam_sim.c cam_xpt.c
 SRCS+=	scsi_all.c scsi_cd.c scsi_ch.c
 SRCS+=	scsi_da.c
 SRCS+=	scsi_pass.c
@@ -32,7 +35,7 @@ SRCS+=	ata_all.c
 SRCS+=	ata_xpt.c
 SRCS+=	ata_da.c
 .if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c)
-SRCS+=  ata_machdep.c
+SRCS+=	ata_machdep.c
 .endif
 SRCS+=	ata_pmp.c
 



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