Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1629033

Re: [PATCH v2] kbuild: Add better clang cross build support

From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] kbuild: Add better clang cross build support
Date 2017-04-23 16:30 +0200
Message-ID <tzqGt-1aR-3@gated-at.bofh.it> (permalink)
References <tyLtE-Ix-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2017-04-22 3:20 GMT+09:00 Matthias Kaehlcke <mka@chromium.org>:
> 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.
>
> From: Behan Webster <behanw@converseincode.com>
> 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>


Applied to linux-kbuild/kbuild.  Thanks!




-- 
Best Regards
Masahiro Yamada

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] kbuild: Add better clang cross build support Matthias Kaehlcke <mka@chromium.org> - 2017-04-21 20:30 +0200
  Re: [PATCH v2] kbuild: Add better clang cross build support Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-23 16:30 +0200

csiph-web