1.PATH: ${SRCTOP}/sys/dev/hyperv/vmbus \ 2 ${SRCTOP}/sys/dev/hyperv/vmbus/${MACHINE_CPUARCH} \ 3 ${SRCTOP}/sys/dev/hyperv/vmbus/x86 4 5KMOD= hv_vmbus 6SRCS= hyperv.c \ 7 hyperv_busdma.c \ 8 hyperv_machdep.c \ 9 vmbus.c \ 10 vmbus_br.c \ 11 vmbus_chan.c \ 12 vmbus_if.c \ 13 vmbus_res.c \ 14 vmbus_xact.c 15 16.if ${MACHINE_CPUARCH} == "amd64" 17SRCS+= vmbus_vector.S hyperv_mmu.c 18.endif 19.if ${MACHINE_CPUARCH} != "aarch64" 20SRCS+= vmbus_et.c hyperv_x86.c vmbus_x86.c 21.else 22SRC+= hyperv_aarch64.c vmbus_aarch64.c 23.endif 24SRCS+= acpi_if.h bus_if.h device_if.h opt_acpi.h pci_if.h pcib_if.h vmbus_if.h 25 26# XXX: for assym.inc 27SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h 28.if ${MACHINE_CPUARCH} == "i386" 29SRCS+= opt_apic.h 30.endif 31 32DPSRCS= assym.inc 33 34vmbus_vector.o: 35 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ 36 ${.IMPSRC} -o ${.TARGET} 37 38CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \ 39 -I${SRCTOP}/sys/dev/hyperv/vmbus 40 41EXPORT_SYMS= YES 42 43.include <bsd.kmod.mk> 44