From: Geoff Levand <geoff@infradead.org>
To: Simon Horman <horms@verge.net.au>
Cc: kexec@lists.infradead.org
Subject: [PATCH 1/2] configure: Set SUBARCH=BE for powerpc
Date: Thu, 08 Oct 2015 16:21:17 -0700 [thread overview]
Message-ID: <1444346477.29301.80.camel@infradead.org> (raw)
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
next reply other threads:[~2015-10-08 23:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-08 23:21 Geoff Levand [this message]
2015-10-16 1:43 ` [PATCH 1/2] configure: Set SUBARCH=BE for powerpc Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1444346477.29301.80.camel@infradead.org \
--to=geoff@infradead.org \
--cc=horms@verge.net.au \
--cc=kexec@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox