diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-19 14:07:51 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-20 22:22:17 +0100 |
commit | d04ea6e4e8d53405b55be5f5877823ed65e85e8b (patch) | |
tree | bda6cc6a36d522b4029c8b5dd35c79d5bb8ae948 /arch/Config.in.sparc | |
parent | 89219fa9dff0505951f4bf0073c7e77a5ae167d6 (diff) | |
download | buildroot-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.sparc')
-rw-r--r-- | arch/Config.in.sparc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/Config.in.sparc b/arch/Config.in.sparc index 307540fdbf..9b6a6aa21a 100644 --- a/arch/Config.in.sparc +++ b/arch/Config.in.sparc @@ -28,3 +28,7 @@ config BR2_GCC_TARGET_CPU default "leon3" if BR2_sparc_leon3 default "v8" if BR2_sparc_v8 default "ultrasparc" if BR2_sparc_v9 + +config BR2_READELF_ARCH_NAME + default "Sparc" if BR2_sparc + default "Sparc v9" if BR2_sparc64 |