Deleted Added
full compact
Makefile (302408) Makefile (303679)
1# $FreeBSD: stable/11/sys/modules/hyperv/vmbus/Makefile 301483 2016-06-06 05:55:37Z sephe $
1# $FreeBSD: stable/11/sys/modules/hyperv/vmbus/Makefile 303679 2016-08-02 20:56:00Z bdrewery $
2
3.PATH: ${.CURDIR}/../../../dev/hyperv/vmbus \
4 ${.CURDIR}/../../../dev/hyperv/vmbus/${MACHINE_CPUARCH}
5
6KMOD= hv_vmbus
7SRCS= hv_channel.c \
8 hv_channel_mgmt.c \
9 hv_connection.c \
10 hv_ring_buffer.c \
11 hyperv.c \
12 hyperv_busdma.c \
13 hyperv_machdep.c \
14 vmbus.c \
15 vmbus_et.c
16SRCS+= acpi_if.h bus_if.h device_if.h opt_acpi.h
17
18# XXX: for assym.s
2
3.PATH: ${.CURDIR}/../../../dev/hyperv/vmbus \
4 ${.CURDIR}/../../../dev/hyperv/vmbus/${MACHINE_CPUARCH}
5
6KMOD= hv_vmbus
7SRCS= hv_channel.c \
8 hv_channel_mgmt.c \
9 hv_connection.c \
10 hv_ring_buffer.c \
11 hyperv.c \
12 hyperv_busdma.c \
13 hyperv_machdep.c \
14 vmbus.c \
15 vmbus_et.c
16SRCS+= acpi_if.h bus_if.h device_if.h opt_acpi.h
17
18# XXX: for assym.s
19SRCS+= opt_kstack_pages.h opt_nfs.h opt_apic.h opt_hwpmc_hooks.h opt_compat.h
19SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h opt_compat.h
20.if ${MACHINE_CPUARCH} == "i386"
21SRCS+= opt_apic.h
22.endif
20
21SRCS+= assym.s \
22 vmbus_vector.S
23
24vmbus_vector.o:
25 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
26 ${.IMPSRC} -o ${.TARGET}
27
28CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \
29 -I${.CURDIR}/../../../dev/hyperv/vmbus
30
31.include <bsd.kmod.mk>
23
24SRCS+= assym.s \
25 vmbus_vector.S
26
27vmbus_vector.o:
28 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
29 ${.IMPSRC} -o ${.TARGET}
30
31CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \
32 -I${.CURDIR}/../../../dev/hyperv/vmbus
33
34.include <bsd.kmod.mk>