aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ata
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2010-05-23 20:24:03 +0000
committerMarius Strobl <marius@FreeBSD.org>2010-05-23 20:24:03 +0000
commit09c0e2a4c0ef37d6cbba520942c961563f949629 (patch)
tree8e14c97d1a2e4a53e53120293f0a7f92c15492cf /sys/modules/ata
parentde2ebd2e0d49e3d5377639e91a3c56da41f5c1a3 (diff)
Notes
Diffstat (limited to 'sys/modules/ata')
-rw-r--r--sys/modules/ata/atadisk/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/modules/ata/atadisk/Makefile b/sys/modules/ata/atadisk/Makefile
index c64cd3f79a07..ccb9106fb0fc 100644
--- a/sys/modules/ata/atadisk/Makefile
+++ b/sys/modules/ata/atadisk/Makefile
@@ -1,9 +1,13 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../dev/ata
+.PATH: ${.CURDIR}/../../../dev/ata ${.CURDIR}/../../../${MACHINE}/${MACHINE}
KMOD= atadisk
-SRCS= ata-disk.c
+SRCS= ata-disk.c ${ata_machdep}
SRCS+= opt_ata.h ata_if.h device_if.h bus_if.h pci_if.h
+.if exists(${.CURDIR}/../../../${MACHINE}/${MACHINE}/ata_machdep.c)
+ata_machdep= ata_machdep.c
+.endif
+
.include <bsd.kmod.mk>