summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-22 22:05:54 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-22 22:05:54 +0100
commit69f57593ac775d07b83230b8d309b69cbcfcf316 (patch)
tree7360b0f509c88a356c02497835ec65c047f85ff0 /arch
parentd5d642a43f4bba00111aff021de6c65b77358e31 (diff)
downloadbuildroot-69f57593ac775d07b83230b8d309b69cbcfcf316.tar.gz
buildroot-69f57593ac775d07b83230b8d309b69cbcfcf316.zip
arch/Config.in.arc: fix BR2_READELF_ARCH_NAME
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/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in.arc3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/Config.in.arc b/arch/Config.in.arc
index dcdba68749..840d472b2c 100644
--- a/arch/Config.in.arc
+++ b/arch/Config.in.arc
@@ -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"
OpenPOWER on IntegriCloud