Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <pefoley2@pefoley.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Peter Foley and committed by
Masahiro Yamada
aedee9e8 169dd780

+2 -2
+1 -1
scripts/kconfig/.gitignore
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 /conf 3 3 /[gmnq]conf 4 + /[gmnq]conf-bin 4 5 /[gmnq]conf-cflags 5 6 /[gmnq]conf-libs 6 - /qconf-bin 7 7 /qconf-moc.cc
+1 -1
scripts/kconfig/Makefile
··· 209 209 $(obj)/gconf.o: | $(obj)/gconf-cflags 210 210 211 211 # 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 213 213 214 214 $(obj)/%conf-cflags $(obj)/%conf-libs $(obj)/%conf-bin: $(src)/%conf-cfg.sh 215 215 $(call cmd,conf_cfg)