1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 4# 5 6# Pass UTS_MACHINE for user_regset definition 7CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' 8 9obj-y := arcksyms.o setup.o irq.o reset.o ptrace.o process.o devtree.o 10obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o 11obj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o 12obj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.o 13 14obj-$(CONFIG_MODULES) += arcksyms.o module.o 15obj-$(CONFIG_SMP) += smp.o 16obj-$(CONFIG_ARC_MCIP) += mcip.o 17obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o 18obj-$(CONFIG_KPROBES) += kprobes.o 19obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o 20obj-$(CONFIG_KGDB) += kgdb.o 21obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o 22obj-$(CONFIG_PERF_EVENTS) += perf_event.o 23obj-$(CONFIG_JUMP_LABEL) += jump_label.o 24 25obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o 26CFLAGS_fpu.o += -mdpfp 27 28ifdef CONFIG_ARC_DW2_UNWIND 29CFLAGS_ctx_sw.o += -fno-omit-frame-pointer 30obj-y += ctx_sw.o 31else 32obj-y += ctx_sw_asm.o 33endif 34 35extra-y := vmlinux.lds head.o 36