android_kernel_xiaomi_sm8350/scripts
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
..
basic kbuild: consolidate command line escaping 2006-02-19 09:51:21 +01:00
genksyms
kconfig kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
ksymoops
mod kbuild: when warning symbols exported twice now tell user this is the problem 2006-03-05 13:48:58 +01:00
package kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
.gitignore
bin2c.c
binoffset.c
bloat-o-meter [PATCH] tiny: Add bloat-o-meter to scripts 2006-01-08 20:14:10 -08:00
checkincludes.pl
checkstack.pl
checkversion.pl
conmakehash.c
extract-ikconfig
gcc-version.sh
gen_initramfs_list.sh
kallsyms.c
Kbuild.include kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
kernel-doc [PATCH] kernel-doc: clean up the script (whitespace) 2006-02-01 08:53:27 -08:00
Lindent
Makefile
Makefile.build kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
Makefile.clean kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
Makefile.host
Makefile.lib
Makefile.modinst kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
Makefile.modpost kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
makelst
mkcompile_h
mkmakefile kbuild: fix mkmakefile 2006-02-19 09:51:21 +01:00
mksysmap spelling: s/retreive/retrieve/ 2006-01-10 00:10:13 +01:00
mkuboot.sh
mkversion
namespace.pl kbuild: make namespace.pl CROSS_COMPILE happy 2006-02-27 05:05:40 +01:00
patch-kernel
pnmtologo.c
reference_discarded.pl kbuild: reference_discarded addition 2006-01-08 18:56:51 +01:00
reference_init.pl
setlocalversion kbuild: In setlocalversion change -git_dirty to just -dirty 2006-01-08 18:44:01 +01:00
show_delta
ver_linux