diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-03-06 17:33:08 +0100 |
|---|---|---|
| committer | Nicolas Schier <nsc@kernel.org> | 2026-03-20 21:43:56 +0100 |
| commit | 9940ec38f12ed8ffe8edc1944f9bbdf9b9a4689e (patch) | |
| tree | 56ba374f3c6722cd468d1d6398bda5db971993cd /Documentation/controllers/git@git.tavy.me:linux.git | |
| parent | a261f6dff3c1653c19c065c3b3650c625447b8a7 (diff) | |
check-uapi: honor ${CROSS_COMPILE} setting
When ${CROSS_COMPILE} is set, but ${CC} is not set, the logic in
check-uapi.sh is different from the top-level Makefile, which defaults
to using the cross gcc. This leads to using the native gcc instead of the
cross version, resulting in unexpected false-positive and false-negative
output.
Use the same logic here that we use in Kbuild for consistency.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260306163309.2015837-3-arnd@kernel.org
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Diffstat (limited to 'Documentation/controllers/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
