Makefile 1.2 KB
Newer Older
1 2 3 4 5 6 7
#
# 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.

V
Vineet Gupta 已提交
8 9 10
# Pass UTS_MACHINE for user_regset definition
CFLAGS_ptrace.o		+= -DUTS_MACHINE='"$(UTS_MACHINE)"'

11
obj-y	:= arcksyms.o setup.o irq.o time.o reset.o ptrace.o process.o devtree.o
12
obj-y	+= signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o clk.o
13 14
obj-$(CONFIG_ISA_ARCOMPACT)		+= entry-compact.o intc-compact.o
obj-$(CONFIG_ISA_ARCV2)			+= entry-arcv2.o intc-arcv2.o
15

V
Vineet Gupta 已提交
16
obj-$(CONFIG_MODULES)			+= arcksyms.o module.o
V
Vineet Gupta 已提交
17
obj-$(CONFIG_SMP) 			+= smp.o
18
obj-$(CONFIG_ARC_DW2_UNWIND)		+= unwind.o
V
Vineet Gupta 已提交
19
obj-$(CONFIG_KPROBES)      		+= kprobes.o
20
obj-$(CONFIG_ARC_EMUL_UNALIGNED) 	+= unaligned.o
M
Mischa Jonker 已提交
21
obj-$(CONFIG_KGDB)			+= kgdb.o
22
obj-$(CONFIG_ARC_METAWARE_HLINK)	+= arc_hostlink.o
23
obj-$(CONFIG_PERF_EVENTS)		+= perf_event.o
V
Vineet Gupta 已提交
24

25 26 27
obj-$(CONFIG_ARC_FPU_SAVE_RESTORE)	+= fpu.o
CFLAGS_fpu.o   += -mdpfp

28 29 30 31
ifdef CONFIG_ARC_DW2_UNWIND
CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
obj-y += ctx_sw.o
else
32
obj-y += ctx_sw_asm.o
33
endif
34 35

extra-y := vmlinux.lds head.o