Commit 1406992f authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini

kbuild: make dependencies in scripts/Makefile.autoconf more readable

I do not remember why I wrote the code like this, but let's make it
a bit more readable.
Signed-off-by: Masahiro Yamada's avatarMasahiro Yamada <>
Reviewed-by: Simon Glass's avatarSimon Glass <>
parent 4bf06d11
......@@ -46,7 +46,7 @@ quiet_cmd_autoconf_dep = GEN $@
-MQ include/config/auto.conf $(srctree)/include/common.h > $@ || { \
rm $@; false; \
include/ FORCE
include/ include/config.h FORCE
$(call cmd,autoconf_dep)
# We are migrating from board headers to Kconfig little by little.
......@@ -71,20 +71,17 @@ quiet_cmd_autoconf = GEN $@
rm $@.tmp; false; \
include/ FORCE
include/ include/config.h FORCE
$(call cmd,autoconf)
spl/include/ FORCE
spl/include/ include/config.h FORCE
$(Q)mkdir -p $(dir $@)
$(call cmd,autoconf,-DCONFIG_SPL_BUILD)
tpl/include/ FORCE
tpl/include/ include/config.h FORCE
$(Q)mkdir -p $(dir $@)
include/ include/ \
spl/include/ tpl/include/ include/config.h
# include/config.h
# Prior to Kconfig, it was generated by mkconfig. Now it is created here.
define filechk_config_h
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment