lkml.org 
[lkml]   [2006]   [Jul]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Allow make kernelrelease & make kernelversion without .config
DateThu, 20 Jul 2006 12:00:52 +0200
FromPeter Kjellerstedt <>
The make targets kernelrelease and kernelversion do not need the .config 
file to exist for them to be useable.  Add them to no-dot-config-targets.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>

Index: Makefile
===================================================================
RCS file: /usr/local/cvs/linux/os/linux-2.6/Makefile,v
retrieving revision 1.1.1.31
diff -p -u -r1.1.1.31 Makefile
--- Makefile	25 Jun 2006 12:57:55 -0000	1.1.1.31
+++ Makefile	20 Jul 2006 09:42:20 -0000
@@ -362,7 +362,8 @@ endif
 # of make so .config is not included in this case either (for *config).
 
 no-dot-config-targets := clean mrproper distclean \
-			 cscope TAGS tags help %docs check%
+			 cscope TAGS tags help %docs check% \
+			 kernelrelease kernelversion
 
 config-targets := 0
 mixed-targets  := 0

------------------------------------------------------------
Peter Kjellerstedt       E-Mail: Peter.Kjellerstedt@axis.com
Axis Communications AB   Phone:  +46 46 272 18 69
Emdalav. 14              Fax:    +46 46 13 61 30
SE-223 69  LUND          URL:    http://www.axis.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-20 12:01    [from the cache]
©2003-2008