summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2012-09-06 14:43:55 +0530
committerSimon Horman <horms@verge.net.au>2012-09-07 07:04:57 +0900
commitce9d37cff0195e236004fc06b3a3eb6b2dfafefa (patch)
tree4495f6530556f146193ea97a4c8b6ac602207ea2
parent5e48916fe32f5cecccdd42e0c99945fb4437b645 (diff)
downloadkexec-tools-ce9d37cff0195e236004fc06b3a3eb6b2dfafefa.tar.gz
kexec: Fix the purgatory Makefile to build arch specific purgatory code.
The latest commit 5e48916 has removed a line from purgatory/Makefile that was responsible for building arch specific purgatory code. This causes kexec -p (loading of panic kernel) to fail. This patch reverts the deleted line. Verified this fix on x86_64 and ppc64. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--purgatory/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/purgatory/Makefile b/purgatory/Makefile
index 711799b2..ee1679c3 100644
--- a/purgatory/Makefile
+++ b/purgatory/Makefile
@@ -27,6 +27,8 @@ include $(srcdir)/purgatory/arch/s390/Makefile
include $(srcdir)/purgatory/arch/sh/Makefile
include $(srcdir)/purgatory/arch/x86_64/Makefile
+PURGATORY_SRCS+=$($(ARCH)_PURGATORY_SRCS)
+
PURGATORY_OBJS = $(call objify, $(PURGATORY_SRCS)) purgatory/sha256.o
PURGATORY_DEPS = $(call depify, $(PURGATORY_OBJS))