Message ID | 20190304165732.24043-4-ar@cs.msu.ru (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | kbuild: More KCONFIG_CONFIG ignorance | expand |
diff --git a/arch/um/kernel/Makefile b/arch/um/kernel/Makefile index 2f36d515762e..f5afd186a0ab 100644 --- a/arch/um/kernel/Makefile +++ b/arch/um/kernel/Makefile @@ -35,7 +35,7 @@ targets := config.c config.tmp # Be careful with the below Sed code - sed is pitfall-rich! # We use sed to lower build requirements, for "embedded" builders for instance. -$(obj)/config.tmp: $(objtree)/.config FORCE +$(obj)/config.tmp: $(objtree)/$(KCONFIG_CONFIG) FORCE $(call if_changed,quote1) quiet_cmd_quote1 = QUOTE $@
If the config file is reassigned through the KCONFIG_CONFIG makeflag/envvar, this rule still attempts to use the wrong, possibly nonexistent file. Let's fix that. Signed-off-by: Arseny Maslennikov <ar@cs.msu.ru> --- arch/um/kernel/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)