From bbe2590b0b03240ff54cb24b563e9a853b6dd4a2 Mon Sep 17 00:00:00 2001 From: "Sachin P. Sant" Date: Fri, 14 Mar 2008 14:47:00 +0530 Subject: x86_64 purgatory Makefile typo fix. While trying to test latest kexec tools git code on a x86_64 box i ran into following issue. Kexec refused to load both kexec and kdump kernels. # ./build/sbin/kexec -l /boot/vmlinuz-2.6.25-rc5 --initrd=/boot/initrd-2.6.25-rc5 Symbol: entry32_regs not found cannot get # # ./build/kexec -p /boot/vmlinux-kdump --initrd=/boot/initrd-kdump --append="...." Symbol: entry64_regs not found cannot get # It turns out that entry64.S file under purgatory/arch/x86_64 was not compiled. The original x86_64_PURGATORY_SRCS were being overwritten in the Makefile. Signed-Off-By: Sachin Sant Signed-off-by: Simon Horman --- purgatory/arch/x86_64/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purgatory/arch/x86_64/Makefile b/purgatory/arch/x86_64/Makefile index 01fbbf3..76d4d17 100644 --- a/purgatory/arch/x86_64/Makefile +++ b/purgatory/arch/x86_64/Makefile @@ -14,7 +14,7 @@ dist += purgatory/arch/x86_64/Makefile $(x86_64_PURGATORY_SRCS) \ purgatory/arch/x86_64/purgatory-x86_64.h # Done add sources in i386/ to dist, as i386/Makefile adds them -x86_64_PURGATORY_SRCS = purgatory/arch/i386/entry32-16.S +x86_64_PURGATORY_SRCS += purgatory/arch/i386/entry32-16.S x86_64_PURGATORY_SRCS += purgatory/arch/i386/entry32-16-debug.S x86_64_PURGATORY_SRCS += purgatory/arch/i386/crashdump_backup.c x86_64_PURGATORY_SRCS += purgatory/arch/i386/console-x86.c -- cgit