2004-08-01 11:40:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/dev/mem
|
|
|
|
.PATH: ${SRCTOP}/sys/${MACHINE}/${MACHINE}
|
|
|
|
.PATH: ${SRCTOP}/sys/${MACHINE_CPUARCH}/${MACHINE_CPUARCH}
|
2017-02-17 21:08:32 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/x86/x86
|
2017-02-17 21:08:32 +00:00
|
|
|
.endif
|
2004-08-01 11:40:54 +00:00
|
|
|
|
|
|
|
KMOD= mem
|
2011-01-17 22:58:28 +00:00
|
|
|
SRCS= mem.c memdev.c memutil.c
|
2010-08-23 06:13:29 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
2017-02-17 21:08:32 +00:00
|
|
|
SRCS+= x86_mem.c k6_mem.c
|
2004-09-28 07:26:00 +00:00
|
|
|
.endif
|
2010-08-23 06:13:29 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
2017-02-17 21:08:32 +00:00
|
|
|
SRCS+= x86_mem.c
|
2004-09-28 07:26:00 +00:00
|
|
|
.endif
|
2004-12-29 08:44:30 +00:00
|
|
|
SRCS+= bus_if.h device_if.h
|
2004-08-01 11:40:54 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|