Skip to contentSkip to conversation

Allow make kernelrelease & make kernelversion without .config

PATCH New Peter Kjellerstedt 1 participant 1 message Jul 20, 2006 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Allow make kernelrelease & make kernelversion without .config

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.

Index: Makefile
===================================================================
RCS file: /usr/local/cvs/linux/os/linux-2.6/Makefile,v retrieving revision 1.1.1.31

Makefile +2 -1
diff -p -u -r1.1.1.31 Makefile
@@ -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/