forked from Minki/linux
617d32938d
Create the rpmsg_ctrl.c module and move the code related to the rpmsg_ctrldev device in this new module. Add the dependency between rpmsg_char and rpmsg_ctrl in the kconfig file: 1) RPMSG_CTRL can set as module or built-in if RPMSG=y || RPMSG_CHAR=y || RPMSG_CHAR=n 2) RPMSG_CTRL can not be set as built-in if RPMSG=m || RPMSG_CHAR=m Note that RPMGH_CHAR and RPMSG_CTRL can be activated separately. Therefore, the RPMSG_CTRL configuration must be set for backwards compatibility. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220124102524.295783-4-arnaud.pouliquen@foss.st.com
13 lines
544 B
Makefile
13 lines
544 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_RPMSG) += rpmsg_core.o
|
|
obj-$(CONFIG_RPMSG_CHAR) += rpmsg_char.o
|
|
obj-$(CONFIG_RPMSG_CTRL) += rpmsg_ctrl.o
|
|
obj-$(CONFIG_RPMSG_NS) += rpmsg_ns.o
|
|
obj-$(CONFIG_RPMSG_MTK_SCP) += mtk_rpmsg.o
|
|
qcom_glink-objs := qcom_glink_native.o qcom_glink_ssr.o
|
|
obj-$(CONFIG_RPMSG_QCOM_GLINK) += qcom_glink.o
|
|
obj-$(CONFIG_RPMSG_QCOM_GLINK_RPM) += qcom_glink_rpm.o
|
|
obj-$(CONFIG_RPMSG_QCOM_GLINK_SMEM) += qcom_glink_smem.o
|
|
obj-$(CONFIG_RPMSG_QCOM_SMD) += qcom_smd.o
|
|
obj-$(CONFIG_RPMSG_VIRTIO) += virtio_rpmsg_bus.o
|