2019-06-04 11:11:33 +03:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2013-01-18 13:42:20 +04:00
|
|
|
#
|
|
|
|
# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
|
|
|
|
#
|
|
|
|
|
2016-10-31 23:46:38 +03:00
|
|
|
obj-y := arcksyms.o setup.o irq.o reset.o ptrace.o process.o devtree.o
|
2016-02-01 17:30:17 +03:00
|
|
|
obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.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 17:00:41 +04:00
|
|
|
obj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o
|
|
|
|
obj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.o
|
2013-01-18 13:42:20 +04:00
|
|
|
|
2013-01-29 17:58:05 +04:00
|
|
|
obj-$(CONFIG_MODULES) += arcksyms.o module.o
|
2013-01-18 13:42:23 +04:00
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
2014-09-10 17:35:38 +04:00
|
|
|
obj-$(CONFIG_ARC_MCIP) += mcip.o
|
2013-01-22 15:33:19 +04:00
|
|
|
obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o
|
2013-01-22 15:33:59 +04:00
|
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
2014-09-08 09:48:15 +04:00
|
|
|
obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
|
2013-01-18 13:42:24 +04:00
|
|
|
obj-$(CONFIG_KGDB) += kgdb.o
|
2013-01-18 13:42:25 +04:00
|
|
|
obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o
|
2013-11-07 17:55:11 +04:00
|
|
|
obj-$(CONFIG_PERF_EVENTS) += perf_event.o
|
2019-11-08 19:20:22 +03:00
|
|
|
obj-$(CONFIG_JUMP_LABEL) += jump_label.o
|
2013-01-29 17:58:05 +04:00
|
|
|
|
2013-01-18 13:42:20 +04:00
|
|
|
obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
|
2020-01-18 02:04:03 +03:00
|
|
|
ifdef CONFIG_ISA_ARCOMPACT
|
2013-01-18 13:42:20 +04:00
|
|
|
CFLAGS_fpu.o += -mdpfp
|
2020-01-18 02:04:03 +03:00
|
|
|
endif
|
2013-01-18 13:42:20 +04:00
|
|
|
|
2013-01-22 15:33:19 +04:00
|
|
|
ifdef CONFIG_ARC_DW2_UNWIND
|
|
|
|
CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
|
|
|
|
obj-y += ctx_sw.o
|
|
|
|
else
|
2013-01-18 13:42:20 +04:00
|
|
|
obj-y += ctx_sw_asm.o
|
2013-01-22 15:33:19 +04:00
|
|
|
endif
|
2013-01-18 13:42:20 +04:00
|
|
|
|
|
|
|
extra-y := vmlinux.lds head.o
|