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)"'
|
|
|
|
|
2015-02-21 17:39:32 +08:00
|
|
|
obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o process.o devtree.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
|
ARCv2: Support for ARCv2 ISA and HS38x cores
The notable features are:
- SMP configurations of upto 4 cores with coherency
- Optional L2 Cache and IO-Coherency
- Revised Interrupt Architecture (multiple priorites, reg banks,
auto stack switch, auto regfile save/restore)
- MMUv4 (PIPT dcache, Huge Pages)
- Instructions for
* 64bit load/store: LDD, STD
* Hardware assisted divide/remainder: DIV, REM
* Function prologue/epilogue: ENTER_S, LEAVE_S
* IRQ enable/disable: CLRI, SETI
* pop count: FFS, FLS
* SETcc, BMSKN, XBFU...
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2013-05-13 21:00:41 +08:00
|
|
|
obj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o
|
|
|
|
obj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.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
|
2014-09-10 21:35:38 +08:00
|
|
|
obj-$(CONFIG_ARC_MCIP) += mcip.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
|
2014-09-08 13:48:15 +08:00
|
|
|
obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
|
2013-01-18 17:42:24 +08:00
|
|
|
obj-$(CONFIG_KGDB) += kgdb.o
|
2013-01-18 17:42:25 +08:00
|
|
|
obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o
|
2013-11-07 21:55:11 +08:00
|
|
|
obj-$(CONFIG_PERF_EVENTS) += perf_event.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
|