Skip to content

Commit aedee9e

Browse files
pefoley2masahir0y
authored andcommitted
kconfig: Update all declared targets
Currently qconf-cfg.sh is the only script that touches the "-bin" target, even though all of the conf_cfg rules declare that they do. Make the recipe unconditionally touch all declared targets to avoid incompatibilities with upcoming versions of GNU make: https://lists.gnu.org/archive/html/info-gnu/2022-10/msg00008.html e.g. scripts/kconfig/Makefile:215: warning: pattern recipe did not update peer target 'scripts/kconfig/nconf-bin'. scripts/kconfig/Makefile:215: warning: pattern recipe did not update peer target 'scripts/kconfig/mconf-bin'. scripts/kconfig/Makefile:215: warning: pattern recipe did not update peer target 'scripts/kconfig/gconf-bin'. Signed-off-by: Peter Foley <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 169dd78 commit aedee9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/kconfig/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
/conf
33
/[gmnq]conf
4+
/[gmnq]conf-bin
45
/[gmnq]conf-cflags
56
/[gmnq]conf-libs
6-
/qconf-bin
77
/qconf-moc.cc

scripts/kconfig/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ $(obj)/gconf: | $(obj)/gconf-libs
209209
$(obj)/gconf.o: | $(obj)/gconf-cflags
210210

211211
# check if necessary packages are available, and configure build flags
212-
cmd_conf_cfg = $< $(addprefix $(obj)/$*conf-, cflags libs bin)
212+
cmd_conf_cfg = $< $(addprefix $(obj)/$*conf-, cflags libs bin); touch $(obj)/$*conf-bin
213213

214214
$(obj)/%conf-cflags $(obj)/%conf-libs $(obj)/%conf-bin: $(src)/%conf-cfg.sh
215215
$(call cmd,conf_cfg)

0 commit comments

Comments
 (0)