Re: [PATCH] kbuild: move RETPOLINE flags below config-targets

2019-03-29 Thread Masahiro Yamada
On Tue, Mar 26, 2019 at 3:11 PM Masahiro Yamada wrote: > > When you run a "make *config" target, the retpoline compiler flags > are evaluated for nothing because the code is located above the > 'ifeq ($(config-targets),1)'. > > Move it a bit below to avoid unneeded computation in the Kconfig stage

[PATCH] kbuild: move RETPOLINE flags below config-targets

2019-03-25 Thread Masahiro Yamada
When you run a "make *config" target, the retpoline compiler flags are evaluated for nothing because the code is located above the 'ifeq ($(config-targets),1)'. Move it a bit below to avoid unneeded computation in the Kconfig stage. Signed-off-by: Masahiro Yamada --- Makefile | 18 +---