[PATCH 1/2] configure: Set SUBARCH=BE for powerpc
Geoff Levand
geoff at infradead.org
Thu Oct 8 16:21:17 PDT 2015
When building a 32 bit version of kexec-tools for powerpc64
set the default powerpc64 SUBARCH as BE.
Fixes build errors like these:
powerpc-linux-gnu/bin/ld: unrecognised emulation mode: elf64lppc
Signed-off-by: Geoff Levand <geoff at infradead.org>
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index ddb5e2b..2dc70df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,7 @@ case $target_cpu in
;;
powerpc )
ARCH="ppc"
+ SUBARCH="BE"
;;
powerpc64 )
ARCH="ppc64"
--
2.5.0
More information about the kexec
mailing list