xref: /openbmc/linux/arch/arc/kernel/Makefile (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1d2912cb1SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2cfdbc2e1SVineet Gupta#
3cfdbc2e1SVineet Gupta# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4cfdbc2e1SVineet Gupta#
5cfdbc2e1SVineet Gupta
632164845SMasahiro Yamadaobj-y	:= head.o arcksyms.o setup.o irq.o reset.o ptrace.o process.o devtree.o
76e9318d1SAlexey Brodkinobj-y	+= signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o
8*b060b7d0SVineet Guptaobj-y	+= ctx_sw_asm.o
9*b060b7d0SVineet Gupta
101f6ccfffSVineet Guptaobj-$(CONFIG_ISA_ARCOMPACT)		+= entry-compact.o intc-compact.o
111f6ccfffSVineet Guptaobj-$(CONFIG_ISA_ARCV2)			+= entry-arcv2.o intc-arcv2.o
12cfdbc2e1SVineet Gupta
13fa1c3ff9SVineet Guptaobj-$(CONFIG_MODULES)			+= arcksyms.o module.o
1441195d23SVineet Guptaobj-$(CONFIG_SMP) 			+= smp.o
1582fea5a1SVineet Guptaobj-$(CONFIG_ARC_MCIP)			+= mcip.o
16854a0d95SVineet Guptaobj-$(CONFIG_ARC_DW2_UNWIND)		+= unwind.o
174d86dfbbSVineet Guptaobj-$(CONFIG_KPROBES)      		+= kprobes.o
181736a56fSVineet Guptaobj-$(CONFIG_ARC_EMUL_UNALIGNED) 	+= unaligned.o
19f46121bdSMischa Jonkerobj-$(CONFIG_KGDB)			+= kgdb.o
20cbe056f7SVineet Guptaobj-$(CONFIG_ARC_METAWARE_HLINK)	+= arc_hostlink.o
210dd450feSMischa Jonkerobj-$(CONFIG_PERF_EVENTS)		+= perf_event.o
22f091d5a4SEugeniy Paltsevobj-$(CONFIG_JUMP_LABEL)		+= jump_label.o
23fa1c3ff9SVineet Gupta
24cfdbc2e1SVineet Guptaobj-$(CONFIG_ARC_FPU_SAVE_RESTORE)	+= fpu.o
25f45ba2bdSVineet Guptaifdef CONFIG_ISA_ARCOMPACT
26cfdbc2e1SVineet GuptaCFLAGS_fpu.o   += -mdpfp
27f45ba2bdSVineet Guptaendif
28cfdbc2e1SVineet Gupta
2932164845SMasahiro Yamadaextra-y := vmlinux.lds
30