Commit | Line | Data |
---|---|---|
cfdbc2e1 VG |
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 | ||
547f1125 VG |
8 | # Pass UTS_MACHINE for user_regset definition |
9 | CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' | |
10 | ||
cfdbc2e1 | 11 | obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o |
e65ab5a8 | 12 | obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o clk.o |
999159a5 | 13 | obj-y += devtree.o |
cfdbc2e1 | 14 | |
fa1c3ff9 | 15 | obj-$(CONFIG_MODULES) += arcksyms.o module.o |
41195d23 | 16 | obj-$(CONFIG_SMP) += smp.o |
854a0d95 | 17 | obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o |
4d86dfbb | 18 | obj-$(CONFIG_KPROBES) += kprobes.o |
fa1c3ff9 | 19 | |
cfdbc2e1 VG |
20 | obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o |
21 | CFLAGS_fpu.o += -mdpfp | |
22 | ||
854a0d95 VG |
23 | ifdef CONFIG_ARC_DW2_UNWIND |
24 | CFLAGS_ctx_sw.o += -fno-omit-frame-pointer | |
25 | obj-y += ctx_sw.o | |
26 | else | |
cfdbc2e1 | 27 | obj-y += ctx_sw_asm.o |
854a0d95 | 28 | endif |
cfdbc2e1 VG |
29 | |
30 | extra-y := vmlinux.lds head.o |