summaryrefslogtreecommitdiffstats
path: root/kexec/arch/mips/Makefile
blob: 1fe788608fbe57bc5c186e94cf3495fa17a2de92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# kexec mips (linux booting linux)
#
mips_KEXEC_SRCS =  kexec/arch/mips/kexec-mips.c
mips_KEXEC_SRCS += kexec/arch/mips/kexec-elf-mips.c
mips_KEXEC_SRCS += kexec/arch/mips/kexec-elf-rel-mips.c
mips_KEXEC_SRCS += kexec/arch/mips/crashdump-mips.c

mips_FS2DT = kexec/fs2dt.c
mips_FS2DT_INCLUDE = \
	-include $(srcdir)/kexec/arch/mips/crashdump-mips.h \
	-include $(srcdir)/kexec/arch/mips/kexec-mips.h

mips_DT_OPS += kexec/dt-ops.c

include $(srcdir)/kexec/libfdt/Makefile.libfdt

libfdt_SRCS += $(LIBFDT_SRCS:%=kexec/libfdt/%)
mips_CPPFLAGS += -I$(srcdir)/kexec/libfdt
mips_KEXEC_SRCS += $(libfdt_SRCS)

mips_ADD_BUFFER =
mips_ADD_SEGMENT =
mips_VIRT_TO_PHYS =

dist += kexec/arch/mips/Makefile $(mips_KEXEC_SRCS)			\
	kexec/arch/mips/kexec-mips.h					\
	kexec/arch/mips/crashdump-mips.h				\
	kexec/arch/mips/include/arch/options.h