# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) # # Pass UTS_MACHINE for user_regset definition CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' obj-y := arcksyms.o setup.o irq.o reset.o ptrace.o process.o devtree.o obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o obj-$([31mCONFIG_ISA_ARCOMPACT[0m) += entry-compact.o intc-compact.o obj-$([31mCONFIG_ISA_ARCV2[0m) += entry-arcv2.o intc-arcv2.o obj-$([31mCONFIG_MODULES[0m) += arcksyms.o module.o obj-$([31mCONFIG_SMP[0m) += smp.o obj-$([31mCONFIG_ARC_MCIP[0m) += mcip.o obj-$([31mCONFIG_ARC_DW2_UNWIND[0m) += unwind.o obj-$([31mCONFIG_KPROBES[0m) += kprobes.o obj-$([31mCONFIG_ARC_EMUL_UNALIGNED[0m) += unaligned.o obj-$([31mCONFIG_KGDB[0m) += kgdb.o obj-$([31mCONFIG_ARC_METAWARE_HLINK[0m) += arc_hostlink.o obj-$([31mCONFIG_PERF_EVENTS[0m) += perf_event.o obj-$([31mCONFIG_ARC_FPU_SAVE_RESTORE[0m) += fpu.o CFLAGS_fpu.o += -mdpfp ifdef [31mCONFIG_ARC_DW2_UNWIND[0m CFLAGS_ctx_sw.o += -fno-omit-frame-pointer obj-y += ctx_sw.o else obj-y += ctx_sw_asm.o endif extra-y := vmlinux.lds head.o |