brintos

brintos / linux-shallow public Read only

0
0
Text · 845 B · 3ba3d3b Raw
19 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2# Keep before scmi_transport_mailbox.o to allow precedence3# while matching the compatible.4scmi_transport_smc-objs := smc.o5obj-$(CONFIG_ARM_SCMI_TRANSPORT_SMC) += scmi_transport_smc.o6scmi_transport_mailbox-objs := mailbox.o7obj-$(CONFIG_ARM_SCMI_TRANSPORT_MAILBOX) += scmi_transport_mailbox.o8scmi_transport_optee-objs := optee.o9obj-$(CONFIG_ARM_SCMI_TRANSPORT_OPTEE) += scmi_transport_optee.o10scmi_transport_virtio-objs := virtio.o11obj-$(CONFIG_ARM_SCMI_TRANSPORT_VIRTIO) += scmi_transport_virtio.o12 13ifeq ($(CONFIG_THUMB2_KERNEL)$(CONFIG_CC_IS_CLANG),yy)14# The use of R7 in the SMCCC conflicts with the compiler's use of R7 as a frame15# pointer in Thumb2 mode, which is forcibly enabled by Clang when profiling16# hooks are inserted via the -pg switch.17CFLAGS_REMOVE_smc.o += $(CC_FLAGS_FTRACE)18endif19