Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1667360
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 1/3] kbuild: Add __cc-option macro |
| Date | 2017-06-16 02:50 +0200 |
| Message-ID | <tSNCx-1dK-11@gated-at.bofh.it> (permalink) |
| References | <tSH45-5q5-1@gated-at.bofh.it> <tSH46-5q5-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
2017-06-16 2:37 GMT+09:00 Matthias Kaehlcke <mka@chromium.org>: > cc-option uses KBUILD_CFLAGS and KBUILD_CPPFLAGS when it determines > whether an option is supported or not. This is fine for options used to > build the kernel itself, however some components like the x86 boot code > use a different set of flags. > > Add the new macro __cc-option which is a more generic version of > cc-option with additional parameters. One parameter is the compiler > with which the check should be performed, the other the compiler options > to be used instead KBUILD_C*FLAGS. > > Refactor cc-option and hostcc-option to use __cc-option and move > hostcc-option to scripts/Kbuild.include. > > Suggested-by: Arnd Bergmann <arnd@arndb.de> > Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com> > Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> -- Best Regards Masahiro Yamada
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 0/3] x86: stack alignment for boot code and clang Matthias Kaehlcke <mka@chromium.org> - 2017-06-15 19:50 +0200
[PATCH v3 2/3] x86/build: Use __cc-option for boot code compiler options Matthias Kaehlcke <mka@chromium.org> - 2017-06-15 19:50 +0200
[PATCH v3 1/3] kbuild: Add __cc-option macro Matthias Kaehlcke <mka@chromium.org> - 2017-06-15 19:50 +0200
Re: [PATCH v3 1/3] kbuild: Add __cc-option macro Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-06-16 02:50 +0200
Re: [PATCH v3 1/3] kbuild: Add __cc-option macro kbuild test robot <lkp@intel.com> - 2017-06-18 09:00 +0200
Re: [PATCH v3 1/3] kbuild: Add __cc-option macro Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-06-19 04:10 +0200
Re: [PATCH v3 1/3] kbuild: Add __cc-option macro Matthias Kaehlcke <mka@chromium.org> - 2017-06-19 18:50 +0200
[PATCH v3 3/3] x86/build: Specify stack alignment for clang Matthias Kaehlcke <mka@chromium.org> - 2017-06-15 19:50 +0200
csiph-web