kbuild: swap the include order of arch Makefile and auto.conf.cmd
Include

  include/config/auto.conf
  arch/$(ARCH)/Makefile
  include/config/auto.conf.cmd

in this order, which is the same as the current Linux does.

auto.conf.cmd contains the environment variables that were referenced
from Kconfig files. If an environment variable defined in arch Makefile
is referenced from Kconfig files, Kbuild would end up with eternal
synconfig loop.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d087dce commit 13b026091be0c9d784c768242c308ffa303bf241
@Masahiro Yamada Masahiro Yamada authored on 24 Apr 2020
Sascha Hauer committed on 27 Apr 2020
Showing 1 changed file
View
Makefile