make glue to hook up the hyperv kmods to the build.
Modified from the original Microsoft versions to pull code/headers in from the sys/contrib/dev directory.
This commit is contained in:
parent
9d3b2dabfb
commit
7d99ab9fd0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/hyperv/; revision=251777
@ -125,6 +125,7 @@ SUBDIR= \
|
||||
${_hptmv} \
|
||||
${_hptrr} \
|
||||
hwpmc \
|
||||
${_hyperv} \
|
||||
${_i2c} \
|
||||
${_ibcs2} \
|
||||
${_ichwd} \
|
||||
@ -661,6 +662,7 @@ _hptiop= hptiop
|
||||
_hptmv= hptmv
|
||||
_hptrr= hptrr
|
||||
.endif
|
||||
_hyperv= hyperv
|
||||
_i2c= i2c
|
||||
_ichwd= ichwd
|
||||
_ida= ida
|
||||
|
5
sys/modules/hyperv/Makefile
Normal file
5
sys/modules/hyperv/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR = vmbus netvsc storvsc utilities
|
||||
|
||||
.include <bsd.subdir.mk>
|
15
sys/modules/hyperv/netvsc/Makefile
Normal file
15
sys/modules/hyperv/netvsc/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../contrib/dev/hyperv/netvsc
|
||||
|
||||
KMOD = hv_netvsc
|
||||
|
||||
SRCS = hv_net_vsc.c \
|
||||
hv_netvsc_drv_freebsd.c \
|
||||
hv_rndis_filter.c
|
||||
|
||||
CFLAGS += -I${.CURDIR}/../../../contrib/dev/hyperv/include \
|
||||
-I${.CURDIR}/../../../contrib/dev/hyperv/netvsc \
|
||||
-I${.CURDIR}/../../../contrib
|
||||
|
||||
.include <bsd.kmod.mk>
|
15
sys/modules/hyperv/storvsc/Makefile
Normal file
15
sys/modules/hyperv/storvsc/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../contrib/dev/hyperv/storvsc
|
||||
|
||||
KMOD= hv_storvsc
|
||||
|
||||
SRCS = hv_storvsc_drv_freebsd.c \
|
||||
hv_vstorage.h
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../contrib/dev/hyperv/include \
|
||||
-I${.CURDIR}/../../../contrib/dev/hyperv/vmbus \
|
||||
-I${.CURDIR}/../../../contrib/dev/hyperv/storvsc \
|
||||
-I${.CURDIR}/../../../contrib
|
||||
|
||||
.include <bsd.kmod.mk>
|
13
sys/modules/hyperv/utilities/Makefile
Normal file
13
sys/modules/hyperv/utilities/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../contrib/dev/hyperv/utilities
|
||||
|
||||
KMOD= hv_utils
|
||||
|
||||
SRCS = hv_util.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../contrib/dev/hyperv/include \
|
||||
-I${.CURDIR}/../../../contrib/dev/hyperv/vmbus \
|
||||
-I${.CURDIR}/../../../contrib
|
||||
|
||||
.include <bsd.kmod.mk>
|
21
sys/modules/hyperv/vmbus/Makefile
Normal file
21
sys/modules/hyperv/vmbus/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../contrib/dev/hyperv/vmbus \
|
||||
${.CURDIR}/../../../contrib/dev/hyperv/utilities
|
||||
|
||||
KMOD= hv_vmbus
|
||||
|
||||
SRCS = hv_channel.c \
|
||||
hv_channel_mgmt.c \
|
||||
hv_connection.c \
|
||||
hv_hv.c \
|
||||
hv_ring_buffer.c \
|
||||
hv_vmbus_drv_freebsd.c \
|
||||
hv_vmbus_priv.h
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../contrib/dev/hyperv/include \
|
||||
-I${.CURDIR}/../../../contrib/dev/hyperv/vmbus \
|
||||
-I${.CURDIR}/../../../contrib/dev/hyperv/utilities \
|
||||
-I${.CURDIR}/../../../contrib
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user