1# SPDX-License-Identifier: GPL-2.0-only
2scmi-bus-y = bus.o
3scmi-driver-y = driver.o notify.o
4scmi-transport-$(CONFIG_ARM_SCMI_HAVE_SHMEM) = shmem.o
5scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_MAILBOX) += mailbox.o
6scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_SMC) += smc.o
7scmi-transport-$(CONFIG_ARM_SCMI_HAVE_MSG) += msg.o
8scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_VIRTIO) += virtio.o
9scmi-protocols-y = base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o
10scmi-module-objs := $(scmi-bus-y) $(scmi-driver-y) $(scmi-protocols-y) \
11		    $(scmi-transport-y)
12obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-module.o
13obj-$(CONFIG_ARM_SCMI_POWER_DOMAIN) += scmi_pm_domain.o
14