summaryrefslogtreecommitdiff
path: root/scripts/Makefile.autoconf
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-26 13:05:00 +0900
committerTom Rini <trini@konsulko.com>2016-10-07 14:26:34 +0000
commit1406992f4f21f6d62e3ec0b700da1660519b14c0 (patch)
tree69c5143059cc79c2f385a45c591c18c7409410c4 /scripts/Makefile.autoconf
parent4bf06d11c3ba2041f2cc2dd39abe41ff08c3831d (diff)
downloadu-boot-imx-1406992f4f21f6d62e3ec0b700da1660519b14c0.zip
u-boot-imx-1406992f4f21f6d62e3ec0b700da1660519b14c0.tar.gz
u-boot-imx-1406992f4f21f6d62e3ec0b700da1660519b14c0.tar.bz2
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 <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/Makefile.autoconf')
-rw-r--r--scripts/Makefile.autoconf11
1 files changed, 4 insertions, 7 deletions
diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf
index 01a739d..ba674f8 100644
--- a/scripts/Makefile.autoconf
+++ b/scripts/Makefile.autoconf
@@ -46,7 +46,7 @@ quiet_cmd_autoconf_dep = GEN $@
-MQ include/config/auto.conf $(srctree)/include/common.h > $@ || { \
rm $@; false; \
}
-include/autoconf.mk.dep: FORCE
+include/autoconf.mk.dep: 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/autoconf.mk: FORCE
+include/autoconf.mk: include/config.h FORCE
$(call cmd,autoconf)
-spl/include/autoconf.mk: FORCE
+spl/include/autoconf.mk: include/config.h FORCE
$(Q)mkdir -p $(dir $@)
$(call cmd,autoconf,-DCONFIG_SPL_BUILD)
-tpl/include/autoconf.mk: FORCE
+tpl/include/autoconf.mk: include/config.h FORCE
$(Q)mkdir -p $(dir $@)
$(call cmd,autoconf,-DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD)
-include/autoconf.mk include/autoconf.mk.dep \
- spl/include/autoconf.mk tpl/include/autoconf.mk: include/config.h
-
# include/config.h
# Prior to Kconfig, it was generated by mkconfig. Now it is created here.
define filechk_config_h