android_kernel_xiaomi_sm8350/scripts/kconfig
Paul Smith 4f1933620f kbuild: change kbuild to not rely on incorrect GNU make behavior
The kbuild system takes advantage of an incorrect behavior in GNU make.
Once this behavior is fixed, all files in the kernel rebuild every time,
even if nothing has changed.  This patch ensures kbuild works with both
the incorrect and correct behaviors of GNU make.

For more details on the incorrect behavior, see:

http://lists.gnu.org/archive/html/bug-make/2006-03/msg00003.html

Changes in this patch:
  - Keep all targets that are to be marked .PHONY in a variable, PHONY.
  - Add .PHONY: $(PHONY) to mark them properly.
  - Remove any $(PHONY) files from the $? list when determining whether
    targets are up-to-date or not.

Signed-off-by: Paul Smith <psmith@gnu.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2006-03-06 00:09:51 +01:00
..
lxdialog kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
.gitignore
conf.c [PATCH] kconf: Check for eof from input stream. 2006-01-08 20:14:09 -08:00
confdata.c kbuild: create .kernelrelease at *config step 2006-01-16 12:12:12 +01:00
expr.c
expr.h
gconf.c kbuild: create .kernelrelease at *config step 2006-01-16 12:12:12 +01:00
gconf.glade
images.c
kconfig_load.c
kxgettext.c
lex.zconf.c_shipped
lkc_proto.h
lkc.h
Makefile kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
mconf.c kbuild: create .kernelrelease at *config step 2006-01-16 12:12:12 +01:00
menu.c
POTFILES.in
qconf.cc
qconf.h
symbol.c kbuild: create .kernelrelease at *config step 2006-01-16 12:12:12 +01:00
util.c
zconf.gperf
zconf.hash.c_shipped
zconf.l
zconf.tab.c_shipped
zconf.y