Makefile (b7d3622a39fde7658170b7f3cf6c6889bb8db30d) Makefile (1736a56f3d1d5765fa8953d39a900a494d7e415c)
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 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
18obj-$(CONFIG_KPROBES) += kprobes.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 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
18obj-$(CONFIG_KPROBES) += kprobes.o
19obj-$(CONFIG_ARC_MISALIGN_ACCESS) += unaligned.o
19obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
20obj-$(CONFIG_KGDB) += kgdb.o
21obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o
22obj-$(CONFIG_PERF_EVENTS) += perf_event.o
23
24obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
25CFLAGS_fpu.o += -mdpfp
26
27ifdef CONFIG_ARC_DW2_UNWIND
28CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
29obj-y += ctx_sw.o
30else
31obj-y += ctx_sw_asm.o
32endif
33
34extra-y := vmlinux.lds head.o
20obj-$(CONFIG_KGDB) += kgdb.o
21obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o
22obj-$(CONFIG_PERF_EVENTS) += perf_event.o
23
24obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
25CFLAGS_fpu.o += -mdpfp
26
27ifdef CONFIG_ARC_DW2_UNWIND
28CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
29obj-y += ctx_sw.o
30else
31obj-y += ctx_sw_asm.o
32endif
33
34extra-y := vmlinux.lds head.o