mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
854a0d9505
-Originally written by Rajeshwar Ranga -Derived off of generic unwinder in 2.6.19 and adapted to ARC Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Rajeshwar Ranga <rajeshwar.ranga@gmail.com>
30 lines
871 B
Makefile
30 lines
871 B
Makefile
#
|
|
# 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.
|
|
|
|
# Pass UTS_MACHINE for user_regset definition
|
|
CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
|
|
|
|
obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o
|
|
obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o clk.o
|
|
obj-y += devtree.o
|
|
|
|
obj-$(CONFIG_MODULES) += arcksyms.o module.o
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o
|
|
|
|
obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
|
|
CFLAGS_fpu.o += -mdpfp
|
|
|
|
ifdef CONFIG_ARC_DW2_UNWIND
|
|
CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
|
|
obj-y += ctx_sw.o
|
|
else
|
|
obj-y += ctx_sw_asm.o
|
|
endif
|
|
|
|
extra-y := vmlinux.lds head.o
|