Skip to contentSkip to conversation

configure: Set SUBARCH=BE for powerpc

PATCH Applied Geoff Levand 2 participants 2 messages Oct 8, 2015 – Oct 16, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 configure: Set SUBARCH=BE for powerpc

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

---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)
configure.ac +1 -0
index ddb5e2b..2dc70df 100644
@@ -24,6 +24,7 @@ case $target_cpu in
 		;;
 	powerpc )
 		ARCH="ppc"
+		SUBARCH="BE"
 		;;
 	powerpc64 )
 		ARCH="ppc64"
Signature · 7 lines
2.5.0


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec