7d590c7345
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7126
30 lines
665 B
Makefile
30 lines
665 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../../dev/hyperv/vmbus \
|
|
${.CURDIR}/../../../dev/hyperv/vmbus/${MACHINE_CPUARCH}
|
|
|
|
KMOD= hv_vmbus
|
|
SRCS= hv_channel.c \
|
|
hv_ring_buffer.c \
|
|
hyperv.c \
|
|
hyperv_busdma.c \
|
|
hyperv_machdep.c \
|
|
vmbus.c \
|
|
vmbus_et.c
|
|
SRCS+= acpi_if.h bus_if.h device_if.h opt_acpi.h vmbus_if.h
|
|
|
|
# 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 \
|
|
vmbus_vector.S
|
|
|
|
vmbus_vector.o:
|
|
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
|
${.IMPSRC} -o ${.TARGET}
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \
|
|
-I${.CURDIR}/../../../dev/hyperv/vmbus
|
|
|
|
.include <bsd.kmod.mk>
|