summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/cpus.py
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-06-14 13:10:45 +0100
committerShuah Khan <skhan@linuxfoundation.org>2022-06-14 11:24:24 -0600
commit795285ef242543bb636556b7225f20adb7d3795c (patch)
tree7f8d04cef7d59d861a6b61ee0198945e1a343558 /scripts/gdb/linux/cpus.py
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
selftests: Fix clang cross compilation
Unlike GCC clang uses a single compiler image to support multiple target architectures meaning that we can't simply rely on CROSS_COMPILE to select the output architecture. Instead we must pass --target to the compiler to tell it what to output, kselftest was not doing this so cross compilation of kselftest using clang resulted in kselftest being built for the host architecture. More work is required to fix tests using custom rules but this gets the bulk of things building. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions