1# SPDX-License-Identifier: GPL-2.0-only 2scmi_transport_mailbox-objs := mailbox.o 3obj-$(CONFIG_ARM_SCMI_TRANSPORT_MAILBOX) += scmi_transport_mailbox.o 4scmi_transport_smc-objs := smc.o 5obj-$(CONFIG_ARM_SCMI_TRANSPORT_SMC) += scmi_transport_smc.o 6scmi_transport_optee-objs := optee.o 7obj-$(CONFIG_ARM_SCMI_TRANSPORT_OPTEE) += scmi_transport_optee.o 8scmi_transport_virtio-objs := virtio.o 9obj-$(CONFIG_ARM_SCMI_TRANSPORT_VIRTIO) += scmi_transport_virtio.o 10 11ifeq ($(CONFIG_THUMB2_KERNEL)$(CONFIG_CC_IS_CLANG),yy) 12# The use of R7 in the SMCCC conflicts with the compiler's use of R7 as a frame 13# pointer in Thumb2 mode, which is forcibly enabled by Clang when profiling 14# hooks are inserted via the -pg switch. 15CFLAGS_REMOVE_smc.o += $(CC_FLAGS_FTRACE) 16endif 17