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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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: [email protected]
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux