1# 2# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 3# 4# This program is free software; you can redistribute it and/or modify 5# it under the terms of the GNU General Public License version 2 as 6# published by the Free Software Foundation. 7 8# Pass UTS_MACHINE for user_regset definition 9CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' 10 11obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o process.o devtree.o 12obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o 13obj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o 14obj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.o 15obj-$(CONFIG_PCI) += pcibios.o 16 17obj-$(CONFIG_MODULES) += arcksyms.o module.o 18obj-$(CONFIG_SMP) += smp.o 19obj-$(CONFIG_ARC_MCIP) += mcip.o 20obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o 21obj-$(CONFIG_KPROBES) += kprobes.o 22obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o 23obj-$(CONFIG_KGDB) += kgdb.o 24obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o 25obj-$(CONFIG_PERF_EVENTS) += perf_event.o 26 27obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o 28CFLAGS_fpu.o += -mdpfp 29 30ifdef CONFIG_ARC_DW2_UNWIND 31CFLAGS_ctx_sw.o += -fno-omit-frame-pointer 32obj-y += ctx_sw.o 33else 34obj-y += ctx_sw_asm.o 35endif 36 37extra-y := vmlinux.lds head.o 38