1cfdbc2e1SVineet Gupta# 2cfdbc2e1SVineet Gupta# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 3cfdbc2e1SVineet Gupta# 4cfdbc2e1SVineet Gupta# This program is free software; you can redistribute it and/or modify 5cfdbc2e1SVineet Gupta# it under the terms of the GNU General Public License version 2 as 6cfdbc2e1SVineet Gupta# published by the Free Software Foundation. 7cfdbc2e1SVineet Gupta 8547f1125SVineet Gupta# Pass UTS_MACHINE for user_regset definition 9547f1125SVineet GuptaCFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' 10547f1125SVineet Gupta 116d1a20b1SVineet Guptaobj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o process.o devtree.o 12e65ab5a8SVineet Guptaobj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o clk.o 131f6ccfffSVineet Guptaobj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o 141f6ccfffSVineet Guptaobj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.o 15cfdbc2e1SVineet Gupta 16fa1c3ff9SVineet Guptaobj-$(CONFIG_MODULES) += arcksyms.o module.o 1741195d23SVineet Guptaobj-$(CONFIG_SMP) += smp.o 18*82fea5a1SVineet Guptaobj-$(CONFIG_ARC_MCIP) += mcip.o 19854a0d95SVineet Guptaobj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o 204d86dfbbSVineet Guptaobj-$(CONFIG_KPROBES) += kprobes.o 211736a56fSVineet Guptaobj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o 22f46121bdSMischa Jonkerobj-$(CONFIG_KGDB) += kgdb.o 23cbe056f7SVineet Guptaobj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o 240dd450feSMischa Jonkerobj-$(CONFIG_PERF_EVENTS) += perf_event.o 25fa1c3ff9SVineet Gupta 26cfdbc2e1SVineet Guptaobj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o 27cfdbc2e1SVineet GuptaCFLAGS_fpu.o += -mdpfp 28cfdbc2e1SVineet Gupta 29854a0d95SVineet Guptaifdef CONFIG_ARC_DW2_UNWIND 30854a0d95SVineet GuptaCFLAGS_ctx_sw.o += -fno-omit-frame-pointer 31854a0d95SVineet Guptaobj-y += ctx_sw.o 32854a0d95SVineet Guptaelse 33cfdbc2e1SVineet Guptaobj-y += ctx_sw_asm.o 34854a0d95SVineet Guptaendif 35cfdbc2e1SVineet Gupta 36cfdbc2e1SVineet Guptaextra-y := vmlinux.lds head.o 37