Makefile (854a0d95056c265d96cb449bc97bc5ef9bbed835) Makefile (e65ab5a875d9e8ad8ff37529c2ae844699fefad1)
1#
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
8# Pass UTS_MACHINE for user_regset definition
9CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
10
11obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o
1#
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
8# Pass UTS_MACHINE for user_regset definition
9CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
10
11obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o
12obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o clk.o
12obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o clk.o
13obj-y += devtree.o
14
15obj-$(CONFIG_MODULES) += arcksyms.o module.o
16obj-$(CONFIG_SMP) += smp.o
17obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o
18
19obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
20CFLAGS_fpu.o += -mdpfp
21
22ifdef CONFIG_ARC_DW2_UNWIND
23CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
24obj-y += ctx_sw.o
25else
26obj-y += ctx_sw_asm.o
27endif
28
29extra-y := vmlinux.lds head.o
13obj-y += devtree.o
14
15obj-$(CONFIG_MODULES) += arcksyms.o module.o
16obj-$(CONFIG_SMP) += smp.o
17obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o
18
19obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
20CFLAGS_fpu.o += -mdpfp
21
22ifdef CONFIG_ARC_DW2_UNWIND
23CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
24obj-y += ctx_sw.o
25else
26obj-y += ctx_sw_asm.o
27endif
28
29extra-y := vmlinux.lds head.o