blob: e7f3625a19b51dc5f117e13fc71b2930bbb4b52d [file] [log] [blame]
Vineet Guptacfdbc2e2013-01-18 15:12:20 +05301#
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 Gupta547f1122013-01-18 15:12:22 +05308# Pass UTS_MACHINE for user_regset definition
9CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
10
Vineet Gupta6d1a20b2015-02-21 15:09:32 +053011obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o process.o devtree.o
Vineet Guptae65ab5a2013-01-30 17:46:13 +053012obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o clk.o
Vineet Gupta1f6ccff2013-05-13 18:30:41 +053013obj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o
14obj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.o
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053015
Vineet Guptafa1c3ff2013-01-29 19:28:05 +053016obj-$(CONFIG_MODULES) += arcksyms.o module.o
Vineet Gupta41195d22013-01-18 15:12:23 +053017obj-$(CONFIG_SMP) += smp.o
Vineet Gupta82fea5a2014-09-10 19:05:38 +053018obj-$(CONFIG_ARC_MCIP) += mcip.o
Vineet Gupta854a0d92013-01-22 17:03:19 +053019obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o
Vineet Gupta4d86dfb2013-01-22 17:03:59 +053020obj-$(CONFIG_KPROBES) += kprobes.o
Vineet Gupta1736a562014-09-08 11:18:15 +053021obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
Mischa Jonkerf46121b2013-01-18 15:12:24 +053022obj-$(CONFIG_KGDB) += kgdb.o
Vineet Guptacbe056f2013-01-18 15:12:25 +053023obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o
Mischa Jonker0dd450f2013-11-07 14:55:11 +010024obj-$(CONFIG_PERF_EVENTS) += perf_event.o
Vineet Guptafa1c3ff2013-01-29 19:28:05 +053025
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053026obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
27CFLAGS_fpu.o += -mdpfp
28
Vineet Gupta854a0d92013-01-22 17:03:19 +053029ifdef CONFIG_ARC_DW2_UNWIND
30CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
31obj-y += ctx_sw.o
32else
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053033obj-y += ctx_sw_asm.o
Vineet Gupta854a0d92013-01-22 17:03:19 +053034endif
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053035
36extra-y := vmlinux.lds head.o