blob: 6ae4dd4ecea0b8da235f4c14ea704de66a38b4da [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 Guptacfdbc2e2013-01-18 15:12:20 +053011obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.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 Gupta999159a2013-01-22 17:00:52 +053013obj-y += devtree.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 Guptafa1c3ff2013-01-29 19:28:05 +053018
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053019obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
20CFLAGS_fpu.o += -mdpfp
21
Vineet Gupta854a0d92013-01-22 17:03:19 +053022ifdef CONFIG_ARC_DW2_UNWIND
23CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
24obj-y += ctx_sw.o
25else
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053026obj-y += ctx_sw_asm.o
Vineet Gupta854a0d92013-01-22 17:03:19 +053027endif
Vineet Guptacfdbc2e2013-01-18 15:12:20 +053028
29extra-y := vmlinux.lds head.o