2019-05-19 15:07:45 +03:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-10-30 21:33:30 +03:00
|
|
|
scmi-bus-y = bus.o
|
2020-07-01 18:53:40 +03:00
|
|
|
scmi-driver-y = driver.o notify.o
|
2021-08-03 16:10:18 +03:00
|
|
|
scmi-transport-$(CONFIG_ARM_SCMI_HAVE_SHMEM) = shmem.o
|
2021-08-03 16:10:17 +03:00
|
|
|
scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_MAILBOX) += mailbox.o
|
|
|
|
scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_SMC) += smc.o
|
2021-08-03 16:10:20 +03:00
|
|
|
scmi-transport-$(CONFIG_ARM_SCMI_HAVE_MSG) += msg.o
|
2021-08-03 16:10:24 +03:00
|
|
|
scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_VIRTIO) += virtio.o
|
2020-11-19 22:10:47 +03:00
|
|
|
scmi-protocols-y = base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o
|
2020-09-07 14:09:23 +03:00
|
|
|
scmi-module-objs := $(scmi-bus-y) $(scmi-driver-y) $(scmi-protocols-y) \
|
|
|
|
$(scmi-transport-y)
|
|
|
|
obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-module.o
|
2017-06-14 15:48:26 +03:00
|
|
|
obj-$(CONFIG_ARM_SCMI_POWER_DOMAIN) += scmi_pm_domain.o
|