2013-01-18 17:42:20 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License version 2 as
|
|
|
|
# published by the Free Software Foundation.
|
|
|
|
|
2013-01-18 17:42:22 +08:00
|
|
|
# Pass UTS_MACHINE for user_regset definition
|
|
|
|
CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
|
|
|
|
|
2013-01-18 17:42:20 +08:00
|
|
|
obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o
|
2013-01-30 20:16:13 +08:00
|
|
|
obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o clk.o
|
2013-01-22 19:30:52 +08:00
|
|
|
obj-y += devtree.o
|
2013-01-18 17:42:20 +08:00
|
|
|
|
2013-01-29 21:58:05 +08:00
|
|
|
obj-$(CONFIG_MODULES) += arcksyms.o module.o
|
2013-01-18 17:42:23 +08:00
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
2013-01-22 19:33:19 +08:00
|
|
|
obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o
|
2013-01-22 19:33:59 +08:00
|
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
2013-01-23 19:00:36 +08:00
|
|
|
obj-$(CONFIG_ARC_MISALIGN_ACCESS) += unaligned.o
|
2013-01-29 21:58:05 +08:00
|
|
|
|
2013-01-18 17:42:20 +08:00
|
|
|
obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
|
|
|
|
CFLAGS_fpu.o += -mdpfp
|
|
|
|
|
2013-01-22 19:33:19 +08:00
|
|
|
ifdef CONFIG_ARC_DW2_UNWIND
|
|
|
|
CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
|
|
|
|
obj-y += ctx_sw.o
|
|
|
|
else
|
2013-01-18 17:42:20 +08:00
|
|
|
obj-y += ctx_sw_asm.o
|
2013-01-22 19:33:19 +08:00
|
|
|
endif
|
2013-01-18 17:42:20 +08:00
|
|
|
|
|
|
|
extra-y := vmlinux.lds head.o
|