2013-01-18 02:42:20 -07: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 02:42:22 -07:00
|
|
|
# Pass UTS_MACHINE for user_regset definition
|
|
|
|
CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
|
|
|
|
|
2015-02-21 02:39:32 -07:00
|
|
|
obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o process.o devtree.o
|
2013-01-30 05:16:13 -07: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 07:00:41 -06:00
|
|
|
obj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o
|
|
|
|
obj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.o
|
2013-01-18 02:42:20 -07:00
|
|
|
|
2013-01-29 06:58:05 -07:00
|
|
|
obj-$(CONFIG_MODULES) += arcksyms.o module.o
|
2013-01-18 02:42:23 -07:00
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
2014-09-10 07:35:38 -06:00
|
|
|
obj-$(CONFIG_ARC_MCIP) += mcip.o
|
2013-01-22 04:33:19 -07:00
|
|
|
obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o
|
2013-01-22 04:33:59 -07:00
|
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
2014-09-07 23:48:15 -06:00
|
|
|
obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
|
2013-01-18 02:42:24 -07:00
|
|
|
obj-$(CONFIG_KGDB) += kgdb.o
|
2013-01-18 02:42:25 -07:00
|
|
|
obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o
|
2013-11-07 06:55:11 -07:00
|
|
|
obj-$(CONFIG_PERF_EVENTS) += perf_event.o
|
2013-01-29 06:58:05 -07:00
|
|
|
|
2013-01-18 02:42:20 -07:00
|
|
|
obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
|
|
|
|
CFLAGS_fpu.o += -mdpfp
|
|
|
|
|
2013-01-22 04:33:19 -07:00
|
|
|
ifdef CONFIG_ARC_DW2_UNWIND
|
|
|
|
CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
|
|
|
|
obj-y += ctx_sw.o
|
|
|
|
else
|
2013-01-18 02:42:20 -07:00
|
|
|
obj-y += ctx_sw_asm.o
|
2013-01-22 04:33:19 -07:00
|
|
|
endif
|
2013-01-18 02:42:20 -07:00
|
|
|
|
|
|
|
extra-y := vmlinux.lds head.o
|