[coreboot] [commit] r5769 - trunk

repository service svn at coreboot.org
Fri Sep 3 10:57:33 CEST 2010


Author: oxygene
Date: Fri Sep  3 10:57:32 2010
New Revision: 5769
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5769

Log:
Add convenience rules for cscope to Makefile.

Signed-off-by: Warren Turkal <wt at penguintechs.org>
Acked-by: Patrick Georgi <patrick.georgi at coresystems.de>

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Fri Sep  3 10:53:06 2010	(r5768)
+++ trunk/Makefile	Fri Sep  3 10:57:32 2010	(r5769)
@@ -330,6 +330,9 @@
 	printf "#endif\n" >> $(obj)/build.ht
 	mv $(obj)/build.ht $(obj)/build.h
 
+cscope:
+	cscope -bR
+
 doxy: doxygen
 doxygen:
 	$(DOXYGEN) documentation/Doxyfile.coreboot
@@ -354,7 +357,10 @@
 clean: clean-for-update
 	rm -f $(obj)/coreboot* .ccwrap
 
-distclean:
+clean-cscope:
+	rm -f cscope.out
+
+distclean: clean-cscope
 	rm -rf $(obj)
 	rm -f .config .config.old ..config.tmp .kconfig.d .tmpconfig* .ccwrap .xcompile
 
@@ -383,5 +389,5 @@
 	@# http://www.coreboot.org/pipermail/coreboot/2010-February/055825.html
 	$(HOSTCC) -g $(STACK) -Wall -o $@ $<
 
-.PHONY: $(PHONY) clean distclean doxygen doxy coreboot .xcompile
+.PHONY: $(PHONY) clean clean-cscope cscope distclean doxygen doxy coreboot .xcompile
 




More information about the coreboot mailing list