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>
This commit is contained in:
Thomas Petazzoni
2017-03-19 14:07:51 +01:00
parent 89219fa9df
commit d04ea6e4e8
15 changed files with 51 additions and 0 deletions

View File

@@ -38,6 +38,9 @@ config BR2_GCC_TARGET_CPU
default "arc700" if BR2_arc770d
default "archs" if BR2_archs38
config BR2_READELF_ARCH_NAME
default "ARCv2"
choice
prompt "MMU Page Size"
default BR2_ARC_PAGE_SIZE_8K