numam-dpdk/config/arm
Juraj Linkeš 95e0f23022 config/arm: split -march into arch and features
Older compilers may not support all arch versions and all features that
the target SoC supports, in which case it's better to figure out the
highest arch version and features that the compiler supports.
Implement a way to achieve this:
1. Find the highest arch version that the compiler supports,
keeping in mind the SoC arch version we're building.
For example, if the SoC arch version is arm8.2-a,
but the compiler only supports arm8.1-a, use arm8.1-a.
On the other hand, if the compiler supports arm8.3-a (or higher),
use armv8.2-a.
2. With the architecture version locked, iterate over SoC features and
use all that are supported.

In all cases, emit a warning if there's something unsupported by the
compiler.

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2021-09-16 18:12:46 +02:00
..
arm32_armv8_linux_gcc config/arm: add aarch32 cross-compilation 2021-07-09 20:03:37 +02:00
arm64_armada_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_armv8_linux_clang_ubuntu1804 config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_armv8_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_bluefield_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_centriq2400_linux_gcc config/arm: add Qualcomm Centriq 2400 2021-05-19 12:08:42 +02:00
arm64_cn10k_linux_gcc config/arm: add Marvell CN10K 2021-04-21 00:26:20 +02:00
arm64_dpaa_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_emag_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_graviton2_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_kunpeng920_linux_gcc config/arm: add Hisilicon kunpeng 2021-04-19 10:09:03 +02:00
arm64_kunpeng930_linux_gcc config/arm: add Hisilicon kunpeng 2021-04-19 10:09:03 +02:00
arm64_n1sdp_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_n2_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_octeontx2_linux_gcc crypto/cnxk: add PCI ID for cn9k 2021-07-09 13:18:56 +02:00
arm64_stingray_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_thunderx2_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
arm64_thunderxt88_linux_gcc config/arm: add platform config option 2021-04-15 22:34:37 +02:00
armv8_machine.py support python 3 only 2020-10-02 13:51:00 +02:00
meson.build config/arm: split -march into arch and features 2021-09-16 18:12:46 +02:00