Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.3.37 /Makefile

Filename:/Makefile
Lines Added:14
Lines Deleted:2
Also changed in: (Previous) 2.3.36  2.3.35  2.3.34  2.3.33  2.3.32  2.3.31 
(Following) 2.3.38  2.3.39  2.3.40  2.3.41  2.3.42  2.3.43 

Location
[  2.3.37
   o  Makefile

Patch

diff -u --recursive --new-file v2.3.36/linux/Makefile linux/Makefile
--- v2.3.36/linux/Makefile   Tue Jan  4 13:57:16 2000
+++ linux/Makefile   Thu Jan  6 12:36:34 2000
@@ -1,6 +1,6 @@
 VERSION = 2
 PATCHLEVEL = 3
-SUBLEVEL = 36
+SUBLEVEL = 37
 EXTRAVERSION =
 
 ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
@@ -343,6 +343,18 @@
 fs lib mm ipc kernel drivers net: dummy
    $(MAKE) $(subst $@, _dir_$@, $@)
 
+TAGS: dummy
+   etags `find include/asm-$(ARCH) -name '*.h'`
+   find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs etags -a
+   find $(SUBDIRS) init -name '*.c' | xargs etags -a
+
+# Exuberant ctags works better with -I 
+tags: dummy
+   CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__initlocaldata,__exitdata,EXPORT_SYMBOL,EXPORT+
_SYMBOL_NOVERS"`; \
+   ctags $$CTAGSF `find include/asm-$(ARCH) -name '*.h'` && \
+   find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs ctags $$CTAGSF -a && \
+   find $(SUBDIRS) init -name '*.c' | xargs ctags $$CTAGSF -a
+
 MODFLAGS = -DMODULE
 ifdef CONFIG_MODULES
 ifdef CONFIG_MODVERSIONS
@@ -446,7 +458,7 @@
 distclean: mrproper
    rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
       -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-      -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS
+      -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS tags
 
 backup: mrproper
    cd .. && tar cf - linux/ | gzip -9 > backup.gz


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.