arch: move definition of KERNEL_ARCH to Config.in.<arch> files

Similar to other arch-specific strings, the 'KERNEL_ARCH' variable can be
determined from Config.in.<arch> files.

Besides aligning with similar strings, this also means simplification: the
big 'sed' covers several architectures not even supported by Buildroot.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Thomas De Schampheleire
2022-01-15 21:02:59 +01:00
committed by Arnout Vandecappelle (Essensium/Mind)
parent e8011a08b6
commit cf198e2299
18 changed files with 55 additions and 16 deletions

View File

@@ -39,6 +39,9 @@ config BR2_GCC_TARGET_FLOAT_ABI
config BR2_ARCH
default "csky"
config BR2_KERNEL_ARCH
default "csky"
config BR2_ENDIAN
default "LITTLE"