1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_HYPERV) += hv_vmbus.o
3 obj-$(CONFIG_HYPERV_UTILS) += hv_utils.o
4 obj-$(CONFIG_HYPERV_BALLOON) += hv_balloon.o
6 CFLAGS_hv_trace.o = -I$(src)
7 CFLAGS_hv_balloon.o = -I$(src)
9 hv_vmbus-y := vmbus_drv.o \
10 hv.o connection.o channel.o \
11 channel_mgmt.o ring_buffer.o hv_trace.o
12 hv_vmbus-$(CONFIG_HYPERV_TESTING) += hv_debugfs.o
13 hv_utils-y := hv_util.o hv_kvp.o hv_snapshot.o hv_fcopy.o hv_utils_transport.o
15 # Code that must be built-in
16 obj-$(subst m,y,$(CONFIG_HYPERV)) += hv_common.o