[PATCH] Allow make kernelrelease & make kernelversion without .config

From: Peter Kjellerstedt
Date: Thu Jul 20 2006 - 05:57:10 EST


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@xxxxxxxx>

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@xxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/