aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/Makefile
diff options
context:
space:
mode:
authorNicolas Schichan <nschichan@freebox.fr>2006-10-18 09:14:55 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-11-29 20:14:44 -0500
commit583bb86fbb9e85287f020fe4eb5352a0ec3c66a3 (patch)
tree5aa886f3fd85387d26df30bc33ef24aeda1181f5 /arch/mips/kernel/Makefile
parentc237923009da464881d89f4bc27c3b5b1a93d61b (diff)
[MIPS] Add support for kexec
A tiny userland application loading the kernel and invoking kexec_load for mips is available here: http://chac.le-poulpe.net/~nico/kexec/kexec-2006-10-18.tar.gz Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/Makefile')
-rw-r--r--arch/mips/kernel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
index 6bfbbed0897e..f35b739d0a12 100644
--- a/arch/mips/kernel/Makefile
+++ b/arch/mips/kernel/Makefile
@@ -67,6 +67,8 @@ obj-$(CONFIG_64BIT) += cpu-bugs64.o
67 67
68obj-$(CONFIG_I8253) += i8253.o 68obj-$(CONFIG_I8253) += i8253.o
69 69
70obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
71
70CFLAGS_cpu-bugs64.o = $(shell if $(CC) $(CFLAGS) -Wa,-mdaddi -c -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-DHAVE_AS_SET_DADDI"; fi) 72CFLAGS_cpu-bugs64.o = $(shell if $(CC) $(CFLAGS) -Wa,-mdaddi -c -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-DHAVE_AS_SET_DADDI"; fi)
71 73
72EXTRA_AFLAGS := $(CFLAGS) 74EXTRA_AFLAGS := $(CFLAGS)