blob: 024a63e90b7233cb0f37fbeb88ec1674156cdcde [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 Gupta6d1a20b2015-02-21 15:09:32 +053013obj-y += entry-compact.o
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053014
Vineet Guptafa1c3ff2013-01-29 19:28:05 +053015obj-$(CONFIG_MODULES) += arcksyms.o module.o
Vineet Gupta41195d22013-01-18 15:12:23 +053016obj-$(CONFIG_SMP) += smp.o
Vineet Gupta854a0d92013-01-22 17:03:19 +053017obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o
Vineet Gupta4d86dfb2013-01-22 17:03:59 +053018obj-$(CONFIG_KPROBES) += kprobes.o
Vineet Gupta1736a562014-09-08 11:18:15 +053019obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
Mischa Jonkerf46121b2013-01-18 15:12:24 +053020obj-$(CONFIG_KGDB) += kgdb.o
Vineet Guptacbe056f2013-01-18 15:12:25 +053021obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o
Mischa Jonker0dd450f2013-11-07 14:55:11 +010022obj-$(CONFIG_PERF_EVENTS) += perf_event.o
Vineet Guptafa1c3ff2013-01-29 19:28:05 +053023
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053024obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
25CFLAGS_fpu.o += -mdpfp
26
Vineet Gupta854a0d92013-01-22 17:03:19 +053027ifdef CONFIG_ARC_DW2_UNWIND
28CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
29obj-y += ctx_sw.o
30else
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053031obj-y += ctx_sw_asm.o
Vineet Gupta854a0d92013-01-22 17:03:19 +053032endif
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053033
34extra-y := vmlinux.lds head.o