1# SPDX-License-Identifier: GPL-2.0-only 2obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o 3obj-$(CONFIG_MTK_SCPSYS_PM_DOMAINS) += mtk-pm-domains.o 4obj-$(CONFIG_AIROHA_CPU_PM_DOMAIN) += airoha-cpu-pmdomain.o 5 6ifeq ($(CONFIG_THUMB2_KERNEL)$(CONFIG_CC_IS_CLANG),yy) 7# The use of R7 in the SMCCC conflicts with the compiler's use of R7 as a frame 8# pointer in Thumb2 mode, which is forcibly enabled by Clang when profiling 9# hooks are inserted via the -pg switch. 10CFLAGS_REMOVE_airoha-cpu-pmdomain.o += $(CC_FLAGS_FTRACE) 11endif 12