* [PATCH 1/2] configure: Set SUBARCH=BE for powerpc
@ 2015-10-08 23:21 Geoff Levand
2015-10-16 1:43 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Geoff Levand @ 2015-10-08 23:21 UTC (permalink / raw)
To: Simon Horman; +Cc: kexec
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@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
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-16 1:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 23:21 [PATCH 1/2] configure: Set SUBARCH=BE for powerpc Geoff Levand
2015-10-16 1:43 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox