summaryrefslogtreecommitdiffstats
path: root/arch/Config.in.csky
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-19 14:07:51 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-20 22:22:17 +0100
commitd04ea6e4e8d53405b55be5f5877823ed65e85e8b (patch)
treebda6cc6a36d522b4029c8b5dd35c79d5bb8ae948 /arch/Config.in.csky
parent89219fa9dff0505951f4bf0073c7e77a5ae167d6 (diff)
downloadbuildroot-d04ea6e4e8d53405b55be5f5877823ed65e85e8b.tar.gz
buildroot-d04ea6e4e8d53405b55be5f5877823ed65e85e8b.zip
arch: add BR2_READELF_ARCH_NAME hidden config option
This config option corresponds to the string returned by readelf for the "Machine" field of the ELF header. It will be used to check if the architecture of binaries built by Buildroot match the target architecture. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch/Config.in.csky')
-rw-r--r--arch/Config.in.csky2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/Config.in.csky b/arch/Config.in.csky
index 7029c6047f..e88e4e2d12 100644
--- a/arch/Config.in.csky
+++ b/arch/Config.in.csky
@@ -44,3 +44,5 @@ config BR2_GCC_TARGET_CPU
default "ck810f" if (BR2_ck810 && BR2_CSKY_FPU && !BR2_CSKY_DSP)
default "ck810ef" if (BR2_ck810 && BR2_CSKY_FPU && BR2_CSKY_DSP)
+config BR2_READELF_ARCH_NAME
+ default "CSKY"
OpenPOWER on IntegriCloud