Add convenience rules for cscope to Makefile.
Signed-off-by: Warren Turkal <wt@penguintechs.org> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5769 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
ba3b0ebdf8
commit
a9fc3309ec
10
Makefile
10
Makefile
|
@ -330,6 +330,9 @@ $(obj)/build.h: .xcompile
|
||||||
printf "#endif\n" >> $(obj)/build.ht
|
printf "#endif\n" >> $(obj)/build.ht
|
||||||
mv $(obj)/build.ht $(obj)/build.h
|
mv $(obj)/build.ht $(obj)/build.h
|
||||||
|
|
||||||
|
cscope:
|
||||||
|
cscope -bR
|
||||||
|
|
||||||
doxy: doxygen
|
doxy: doxygen
|
||||||
doxygen:
|
doxygen:
|
||||||
$(DOXYGEN) documentation/Doxyfile.coreboot
|
$(DOXYGEN) documentation/Doxyfile.coreboot
|
||||||
|
@ -354,7 +357,10 @@ clean-for-update: doxygen-clean
|
||||||
clean: clean-for-update
|
clean: clean-for-update
|
||||||
rm -f $(obj)/coreboot* .ccwrap
|
rm -f $(obj)/coreboot* .ccwrap
|
||||||
|
|
||||||
distclean:
|
clean-cscope:
|
||||||
|
rm -f cscope.out
|
||||||
|
|
||||||
|
distclean: clean-cscope
|
||||||
rm -rf $(obj)
|
rm -rf $(obj)
|
||||||
rm -f .config .config.old ..config.tmp .kconfig.d .tmpconfig* .ccwrap .xcompile
|
rm -f .config .config.old ..config.tmp .kconfig.d .tmpconfig* .ccwrap .xcompile
|
||||||
|
|
||||||
|
@ -383,5 +389,5 @@ $(objutil)/romcc/romcc: $(top)/util/romcc/romcc.c
|
||||||
@# http://www.coreboot.org/pipermail/coreboot/2010-February/055825.html
|
@# http://www.coreboot.org/pipermail/coreboot/2010-February/055825.html
|
||||||
$(HOSTCC) -g $(STACK) -Wall -o $@ $<
|
$(HOSTCC) -g $(STACK) -Wall -o $@ $<
|
||||||
|
|
||||||
.PHONY: $(PHONY) clean distclean doxygen doxy coreboot .xcompile
|
.PHONY: $(PHONY) clean clean-cscope cscope distclean doxygen doxy coreboot .xcompile
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue