2013-06-15 06:21:17 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2013-07-17 06:30:23 +00:00
|
|
|
.PATH: ${.CURDIR}/../../../dev/hyperv/vmbus \
|
2016-04-15 02:20:18 +00:00
|
|
|
${.CURDIR}/../../../dev/hyperv/vmbus/${MACHINE_CPUARCH}
|
2013-06-15 06:21:17 +00:00
|
|
|
|
2013-09-28 07:04:03 +00:00
|
|
|
KMOD= hv_vmbus
|
|
|
|
SRCS= hv_channel.c \
|
2013-06-15 06:21:17 +00:00
|
|
|
hv_ring_buffer.c \
|
2016-06-01 09:20:52 +00:00
|
|
|
hyperv.c \
|
|
|
|
hyperv_busdma.c \
|
2016-06-06 05:55:37 +00:00
|
|
|
hyperv_machdep.c \
|
2016-06-01 09:20:52 +00:00
|
|
|
vmbus.c \
|
|
|
|
vmbus_et.c
|
2016-07-12 07:33:39 +00:00
|
|
|
SRCS+= acpi_if.h bus_if.h device_if.h opt_acpi.h vmbus_if.h
|
2013-06-15 06:21:17 +00:00
|
|
|
|
2016-04-15 02:20:18 +00:00
|
|
|
# XXX: for assym.s
|
|
|
|
SRCS+= opt_kstack_pages.h opt_nfs.h opt_apic.h opt_hwpmc_hooks.h opt_compat.h
|
|
|
|
|
|
|
|
SRCS+= assym.s \
|
2016-06-01 09:20:52 +00:00
|
|
|
vmbus_vector.S
|
2016-04-15 02:20:18 +00:00
|
|
|
|
2016-06-01 09:20:52 +00:00
|
|
|
vmbus_vector.o:
|
2016-04-15 02:20:18 +00:00
|
|
|
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
|
|
|
${.IMPSRC} -o ${.TARGET}
|
|
|
|
|
2013-07-17 06:30:23 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \
|
2016-04-15 02:20:18 +00:00
|
|
|
-I${.CURDIR}/../../../dev/hyperv/vmbus
|
2013-06-15 06:21:17 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|