Skip to contentSkip to conversation

arch/Config.in.arc: fix BR2_READELF_ARCH_NAME

Buildroot Thomas Petazzoni 1 participant 1 message Mar 22, 2017

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=69f57593ac775d07b83230b8d309b69cbcfcf316
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

On ARC, depending on the CPU selected, the ELF machine number might be different. Take this into account when defining BR2_READELF_ARCH_NAME.

Fixes:

http://autobuild.buildroot.net/results/0a1957056e07cedc4839439c0ea8ebd1f646b904/

---
 arch/Config.in.arc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/Config.in.arc +2 -1
index dcdba68..840d472 100644
@@ -39,7 +39,8 @@ config BR2_GCC_TARGET_CPU
 	default "archs"	 if BR2_archs38
 
 config BR2_READELF_ARCH_NAME
-	default "ARCv2"
+	default "ARCompact" 	if BR2_arc750d || BR2_arc770d
+	default "ARCv2"		if BR2_archs38
 
 choice
 	prompt "MMU Page Size"