blob: d76df5c8c2a916d9d76e583cef21cd9b9c97f86f [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Greg Kroah-Hartman46a97192011-10-04 12:29:52 -07002obj-$(CONFIG_HYPERV) += hv_vmbus.o
3obj-$(CONFIG_HYPERV_UTILS) += hv_utils.o
K. Y. Srinivasan9aa8b502012-11-14 01:09:02 -08004obj-$(CONFIG_HYPERV_BALLOON) += hv_balloon.o
Greg Kroah-Hartman46a97192011-10-04 12:29:52 -07005
Vitaly Kuznetsovc9fe0f82017-10-29 12:21:00 -07006CFLAGS_hv_trace.o = -I$(src)
Vitaly Kuznetsovcf21be92018-03-04 22:17:22 -07007CFLAGS_hv_balloon.o = -I$(src)
Vitaly Kuznetsovc9fe0f82017-10-29 12:21:00 -07008
Greg Kroah-Hartman46a97192011-10-04 12:29:52 -07009hv_vmbus-y := vmbus_drv.o \
10 hv.o connection.o channel.o \
Vitaly Kuznetsovc9fe0f82017-10-29 12:21:00 -070011 channel_mgmt.o ring_buffer.o hv_trace.o
Branden Bonabyaf9ca6f2019-10-03 17:01:49 -040012hv_vmbus-$(CONFIG_HYPERV_TESTING) += hv_debugfs.o
Vitaly Kuznetsov14b50f82015-04-11 18:07:51 -070013hv_utils-y := hv_util.o hv_kvp.o hv_snapshot.o hv_fcopy.o hv_utils_transport.o
Michael Kelleya4d7e8a2021-06-02 14:36:44 -070014
15# Code that must be built-in
16obj-$(subst m,y,$(CONFIG_HYPERV)) += hv_common.o