diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-01-05 22:25:13 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-01-05 22:25:13 -0500 |
commit | fed8bf19ec20efc0641740b2d10aa589dbd6d1ab (patch) | |
tree | c104a13c7b8cb7f4152b15729dc5aede7c063e91 /Makefile | |
parent | e7c3aad53dba54d375b632f2a21b680546828dec (diff) | |
parent | 46f25dffbaba48c571d75f5f574f31978287b8d2 (diff) |
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 32 |
1 files changed, 18 insertions, 14 deletions
@@ -1,7 +1,7 @@ | |||
1 | VERSION = 2 | 1 | VERSION = 2 |
2 | PATCHLEVEL = 6 | 2 | PATCHLEVEL = 6 |
3 | SUBLEVEL = 15 | 3 | SUBLEVEL = 15 |
4 | EXTRAVERSION =-rc6 | 4 | EXTRAVERSION = |
5 | NAME=Sliding Snow Leopard | 5 | NAME=Sliding Snow Leopard |
6 | 6 | ||
7 | # *DOCUMENTATION* | 7 | # *DOCUMENTATION* |
@@ -286,10 +286,6 @@ export quiet Q KBUILD_VERBOSE | |||
286 | cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ | 286 | cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ |
287 | > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) | 287 | > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) |
288 | 288 | ||
289 | # For backward compatibility | ||
290 | check_gcc = $(warning check_gcc is deprecated - use cc-option) \ | ||
291 | $(call cc-option, $(1),$(2)) | ||
292 | |||
293 | # cc-option-yn | 289 | # cc-option-yn |
294 | # Usage: flag := $(call cc-option-yn, -march=winchip-c6) | 290 | # Usage: flag := $(call cc-option-yn, -march=winchip-c6) |
295 | cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ | 291 | cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ |
@@ -481,18 +477,20 @@ ifeq ($(dot-config),1) | |||
481 | 477 | ||
482 | # Read in dependencies to all Kconfig* files, make sure to run | 478 | # Read in dependencies to all Kconfig* files, make sure to run |
483 | # oldconfig if changes are detected. | 479 | # oldconfig if changes are detected. |
484 | -include .config.cmd | 480 | -include .kconfig.d |
485 | 481 | ||
486 | include .config | 482 | include .config |
487 | 483 | ||
488 | # If .config needs to be updated, it will be done via the dependency | 484 | # If .config needs to be updated, it will be done via the dependency |
489 | # that autoconf has on .config. | 485 | # that autoconf has on .config. |
490 | # To avoid any implicit rule to kick in, define an empty command | 486 | # To avoid any implicit rule to kick in, define an empty command |
491 | .config: ; | 487 | .config .kconfig.d: ; |
492 | 488 | ||
493 | # If .config is newer than include/linux/autoconf.h, someone tinkered | 489 | # If .config is newer than include/linux/autoconf.h, someone tinkered |
494 | # with it and forgot to run make oldconfig | 490 | # with it and forgot to run make oldconfig. |
495 | include/linux/autoconf.h: .config | 491 | # If kconfig.d is missing then we are probarly in a cleaned tree so |
492 | # we execute the config step to be sure to catch updated Kconfig files | ||
493 | include/linux/autoconf.h: .kconfig.d .config | ||
496 | $(Q)mkdir -p include/linux | 494 | $(Q)mkdir -p include/linux |
497 | $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig | 495 | $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig |
498 | else | 496 | else |
@@ -1066,7 +1064,7 @@ help: | |||
1066 | @echo ' all - Build all targets marked with [*]' | 1064 | @echo ' all - Build all targets marked with [*]' |
1067 | @echo '* vmlinux - Build the bare kernel' | 1065 | @echo '* vmlinux - Build the bare kernel' |
1068 | @echo '* modules - Build all modules' | 1066 | @echo '* modules - Build all modules' |
1069 | @echo ' modules_install - Install all modules' | 1067 | @echo ' modules_install - Install all modules to INSTALL_MOD_PATH (default: /)' |
1070 | @echo ' dir/ - Build all files in dir and below' | 1068 | @echo ' dir/ - Build all files in dir and below' |
1071 | @echo ' dir/file.[ois] - Build specified target only' | 1069 | @echo ' dir/file.[ois] - Build specified target only' |
1072 | @echo ' dir/file.ko - Build module including final link' | 1070 | @echo ' dir/file.ko - Build module including final link' |
@@ -1240,8 +1238,11 @@ cscope: FORCE | |||
1240 | quiet_cmd_TAGS = MAKE $@ | 1238 | quiet_cmd_TAGS = MAKE $@ |
1241 | define cmd_TAGS | 1239 | define cmd_TAGS |
1242 | rm -f $@; \ | 1240 | rm -f $@; \ |
1243 | ETAGSF=`etags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \ | 1241 | ETAGSF=`etags --version | grep -i exuberant >/dev/null && \ |
1244 | $(all-sources) | xargs etags $$ETAGSF -a | 1242 | echo "-I __initdata,__exitdata,__acquires,__releases \ |
1243 | -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ | ||
1244 | --extra=+f --c-kinds=+px"`; \ | ||
1245 | $(all-sources) | xargs etags $$ETAGSF -a | ||
1245 | endef | 1246 | endef |
1246 | 1247 | ||
1247 | TAGS: FORCE | 1248 | TAGS: FORCE |
@@ -1251,8 +1252,11 @@ TAGS: FORCE | |||
1251 | quiet_cmd_tags = MAKE $@ | 1252 | quiet_cmd_tags = MAKE $@ |
1252 | define cmd_tags | 1253 | define cmd_tags |
1253 | rm -f $@; \ | 1254 | rm -f $@; \ |
1254 | CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \ | 1255 | CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \ |
1255 | $(all-sources) | xargs ctags $$CTAGSF -a | 1256 | echo "-I __initdata,__exitdata,__acquires,__releases \ |
1257 | -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ | ||
1258 | --extra=+f --c-kinds=+px"`; \ | ||
1259 | $(all-sources) | xargs ctags $$CTAGSF -a | ||
1256 | endef | 1260 | endef |
1257 | 1261 | ||
1258 | tags: FORCE | 1262 | tags: FORCE |