66d90f6ece
Now, with all the plumbing in place to enable building scmi as a module instead of built-in modules, let us enable the same. Link: https://lore.kernel.org/r/20200907195046.56615-5-sudeep.holla@arm.com Tested-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
12 lines
505 B
Makefile
12 lines
505 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
scmi-bus-y = bus.o
|
|
scmi-driver-y = driver.o notify.o
|
|
scmi-transport-y = shmem.o
|
|
scmi-transport-$(CONFIG_MAILBOX) += mailbox.o
|
|
scmi-transport-$(CONFIG_HAVE_ARM_SMCCC_DISCOVERY) += smc.o
|
|
scmi-protocols-y = base.o clock.o perf.o power.o reset.o sensors.o system.o
|
|
scmi-module-objs := $(scmi-bus-y) $(scmi-driver-y) $(scmi-protocols-y) \
|
|
$(scmi-transport-y)
|
|
obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-module.o
|
|
obj-$(CONFIG_ARM_SCMI_POWER_DOMAIN) += scmi_pm_domain.o
|