Re: [PATCH v2 1/4] kbuild: Add cc-option-raw macro

2017-06-14 Thread Matthias Kaehlcke
El Wed, Jun 14, 2017 at 10:32:20AM +0200 Michal Marek ha dit: > Dne 14.6.2017 v 09:31 Arnd Bergmann napsal(a): > > On Wed, Jun 14, 2017 at 3:27 AM, Masahiro Yamada > > wrote: > >> 2017-06-14 8:08 GMT+09:00 Matthias Kaehlcke : > >>> cc-option uses KBUILD_CFLAGS and KBUILD_CPPFLAGS when it determin

Re: [PATCH v2 1/4] kbuild: Add cc-option-raw macro

2017-06-14 Thread Michal Marek
Dne 14.6.2017 v 09:31 Arnd Bergmann napsal(a): > On Wed, Jun 14, 2017 at 3:27 AM, Masahiro Yamada > wrote: >> 2017-06-14 8:08 GMT+09:00 Matthias Kaehlcke : >>> cc-option uses KBUILD_CFLAGS and KBUILD_CPPFLAGS when it determines >>> whether an option is supported or not. This is fine for options us

Re: [PATCH v2 1/4] kbuild: Add cc-option-raw macro

2017-06-14 Thread Masahiro Yamada
Hi Arnd, 2017-06-14 16:31 GMT+09:00 Arnd Bergmann : > On Wed, Jun 14, 2017 at 3:27 AM, Masahiro Yamada > wrote: >> 2017-06-14 8:08 GMT+09:00 Matthias Kaehlcke : >>> cc-option uses KBUILD_CFLAGS and KBUILD_CPPFLAGS when it determines >>> whether an option is supported or not. This is fine for opt

Re: [PATCH v2 1/4] kbuild: Add cc-option-raw macro

2017-06-14 Thread Arnd Bergmann
On Wed, Jun 14, 2017 at 3:27 AM, Masahiro Yamada wrote: > 2017-06-14 8:08 GMT+09:00 Matthias Kaehlcke : >> 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 compone

Re: [PATCH v2 1/4] kbuild: Add cc-option-raw macro

2017-06-13 Thread Masahiro Yamada
2017-06-14 8:08 GMT+09:00 Matthias Kaehlcke : > 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. > >

[PATCH v2 1/4] kbuild: Add cc-option-raw macro

2017-06-13 Thread Matthias Kaehlcke
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-raw which serves the same pu