kbuild: move RETPOLINE flags below config-targets
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 26 Mar 2019 06:11:12 +0000 (15:11 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 1 Apr 2019 01:06:00 +0000 (10:06 +0900)
commit669e06b19de8f844521a55afbdddbbccf26e5322
treeb5be7274ab7e5915d550634917cf15ddf0e03995
parent79a3aaa7b82e3106be97842dedfd8429248896e6
kbuild: move RETPOLINE flags below config-targets

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 <yamada.masahiro@socionext.com>
Makefile