Makefile 871 字节
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 12
obj-y	:= arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o
obj-y	+= signal.o traps.o sys.o troubleshoot.o stacktrace.o clk.o
V
Vineet Gupta 已提交
13
obj-y	+= devtree.o
14

V
Vineet Gupta 已提交
15
obj-$(CONFIG_MODULES)			+= arcksyms.o module.o
V
Vineet Gupta 已提交
16
obj-$(CONFIG_SMP) 			+= smp.o
17
obj-$(CONFIG_ARC_DW2_UNWIND)		+= unwind.o
V
Vineet Gupta 已提交
18

19 20 21
obj-$(CONFIG_ARC_FPU_SAVE_RESTORE)	+= fpu.o
CFLAGS_fpu.o   += -mdpfp

22 23 24 25
ifdef CONFIG_ARC_DW2_UNWIND
CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
obj-y += ctx_sw.o
else
26
obj-y += ctx_sw_asm.o
27
endif
28 29

extra-y := vmlinux.lds head.o