Vineet Gupta | cfdbc2e | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 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 | |
Vineet Gupta | 547f112 | 2013-01-18 15:12:22 +0530 | [diff] [blame] | 8 | # Pass UTS_MACHINE for user_regset definition |
| 9 | CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' |
| 10 | |
Vineet Gupta | 6d1a20b | 2015-02-21 15:09:32 +0530 | [diff] [blame] | 11 | obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o process.o devtree.o |
Vineet Gupta | e65ab5a | 2013-01-30 17:46:13 +0530 | [diff] [blame] | 12 | obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o clk.o |
Vineet Gupta | 1f6ccff | 2013-05-13 18:30:41 +0530 | [diff] [blame] | 13 | obj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o |
| 14 | obj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.o |
Vineet Gupta | cfdbc2e | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 15 | |
Vineet Gupta | fa1c3ff | 2013-01-29 19:28:05 +0530 | [diff] [blame] | 16 | obj-$(CONFIG_MODULES) += arcksyms.o module.o |
Vineet Gupta | 41195d2 | 2013-01-18 15:12:23 +0530 | [diff] [blame] | 17 | obj-$(CONFIG_SMP) += smp.o |
Vineet Gupta | 82fea5a | 2014-09-10 19:05:38 +0530 | [diff] [blame] | 18 | obj-$(CONFIG_ARC_MCIP) += mcip.o |
Vineet Gupta | 854a0d9 | 2013-01-22 17:03:19 +0530 | [diff] [blame] | 19 | obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o |
Vineet Gupta | 4d86dfb | 2013-01-22 17:03:59 +0530 | [diff] [blame] | 20 | obj-$(CONFIG_KPROBES) += kprobes.o |
Vineet Gupta | 1736a56 | 2014-09-08 11:18:15 +0530 | [diff] [blame] | 21 | obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o |
Mischa Jonker | f46121b | 2013-01-18 15:12:24 +0530 | [diff] [blame] | 22 | obj-$(CONFIG_KGDB) += kgdb.o |
Vineet Gupta | cbe056f | 2013-01-18 15:12:25 +0530 | [diff] [blame] | 23 | obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o |
Mischa Jonker | 0dd450f | 2013-11-07 14:55:11 +0100 | [diff] [blame] | 24 | obj-$(CONFIG_PERF_EVENTS) += perf_event.o |
Vineet Gupta | fa1c3ff | 2013-01-29 19:28:05 +0530 | [diff] [blame] | 25 | |
Vineet Gupta | cfdbc2e | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 26 | obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o |
| 27 | CFLAGS_fpu.o += -mdpfp |
| 28 | |
Vineet Gupta | 854a0d9 | 2013-01-22 17:03:19 +0530 | [diff] [blame] | 29 | ifdef CONFIG_ARC_DW2_UNWIND |
| 30 | CFLAGS_ctx_sw.o += -fno-omit-frame-pointer |
| 31 | obj-y += ctx_sw.o |
| 32 | else |
Vineet Gupta | cfdbc2e | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 33 | obj-y += ctx_sw_asm.o |
Vineet Gupta | 854a0d9 | 2013-01-22 17:03:19 +0530 | [diff] [blame] | 34 | endif |
Vineet Gupta | cfdbc2e | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 35 | |
| 36 | extra-y := vmlinux.lds head.o |