diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-13 16:18:53 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-12-19 14:50:06 +0900 |
commit | 3b34f687a851f84216bc0bbd601b82c40b197a61 (patch) | |
tree | 68b8e0df4e76997df66df829f3295897e24f8cfe /purgatory | |
parent | 7b429d23bca943dc5772ed80160c144930e8904c (diff) |
Enable building a 32 bit binary for ppc64 platforms.
Based on
http://cvs.fedora.redhat.com/viewcvs/rpms/kexec-tools/devel/kexec-tools-1.101-ppc-boots-ppc64.patch?rev=1.2&view=auto
64 bit: OK
32 bit: purgatory build fails
Work-in-progress-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
-rw-r--r-- | purgatory/arch/ppc64/Makefile | 2 | ||||
-rw-r--r-- | purgatory/purgatory.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/purgatory/arch/ppc64/Makefile b/purgatory/arch/ppc64/Makefile index 82b1654..0406278 100644 --- a/purgatory/arch/ppc64/Makefile +++ b/purgatory/arch/ppc64/Makefile @@ -6,3 +6,5 @@ PURGATORY_S_SRCS+= purgatory/arch/ppc64/v2wrap.S PURGATORY_C_SRCS += purgatory/arch/ppc64/purgatory-ppc64.c PURGATORY_C_SRCS += purgatory/arch/ppc64/console-ppc64.c PURGATORY_C_SRCS += purgatory/arch/ppc64/crashdump_backup.c + +PCFLAGS += -m64 -mcall-aixdesc diff --git a/purgatory/purgatory.c b/purgatory/purgatory.c index ad0cac2..aacbb3b 100644 --- a/purgatory/purgatory.c +++ b/purgatory/purgatory.c @@ -46,3 +46,5 @@ void purgatory(void) verify_sha256_digest(); post_verification_setup_arch(); } + +#include "../util_lib/sha256.c" |