diff options
| author | Behan Webster <behanw@converseincode.com> | 2017-04-21 11:20:01 -0700 |
|---|---|---|
| committer | Greg Hackmann <ghackmann@google.com> | 2017-10-09 14:00:12 -0700 |
| commit | 3ef0a0c8590b07fa8dfe0adb2bef6cc3baec5261 (patch) | |
| tree | cd512dbcd569dbedff09f68a2a6b360a6501b495 /scripts/mod/sumversion.c | |
| parent | 867697792d19a40da9265ff2105b73748f662980 (diff) | |
UPSTREAM: kbuild: Add better clang cross build support
Add cross target to CC if using clang. Also add custom gcc toolchain
path for fallback gcc tools.
Clang will fallback to using things like ld, as, and libgcc if
(respectively) one of the llvm linkers isn't available, the integrated
assembler is turned off, or an appropriately cross-compiled version of
compiler-rt isn't available. To this end, you can specify the path to
this fallback gcc toolchain with GCC_TOOLCHAIN.
Signed-off-by: Behan Webster <behanw@converseincode.com>
Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
(cherry picked from commit 785f11aa595bc3d4e74096cbd598ada54ecc0d81)
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Change-Id: I9e4ca1a149bc793b749952f1b5734bbc11777e65
Diffstat (limited to 'scripts/mod/sumversion.c')
0 files changed, 0 insertions, 0 deletions
