xref: /linux/drivers/firmware/arm_scmi/Makefile (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1# SPDX-License-Identifier: GPL-2.0-only
2scmi-bus-y = bus.o
3scmi-core-objs := $(scmi-bus-y)
4
5scmi-driver-y = driver.o notify.o
6scmi-driver-$(CONFIG_ARM_SCMI_RAW_MODE_SUPPORT) += raw_mode.o
7scmi-transport-$(CONFIG_ARM_SCMI_HAVE_SHMEM) = shmem.o
8scmi-transport-$(CONFIG_ARM_SCMI_HAVE_MSG) += msg.o
9scmi-protocols-y := base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o powercap.o
10scmi-protocols-y += pinctrl.o
11scmi-module-objs := $(scmi-driver-y) $(scmi-protocols-y) $(scmi-transport-y)
12
13obj-$(CONFIG_ARM_SCMI_PROTOCOL) += transports/
14obj-$(CONFIG_ARM_SCMI_PROTOCOL) += vendors/imx/
15
16obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-core.o
17obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-module.o
18
19obj-$(CONFIG_ARM_SCMI_POWER_CONTROL) += scmi_power_control.o
20