Skip to contentSkip to conversation

Some miscellaneous patches

PATCH In review Wei Liu 3 participants 11 messages Aug 29, 2016 – Aug 30, 2016 Kbuild

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

cover Some miscellaneous patches

Wei Liu (3):
Makefile: simplify all_sources macro
Makefile: add gtags target
gitignore: ignore files generated by various indexing software

 .gitignore | 7 +++++++
 Makefile   | 6 +++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#1 lore raw

PATCH 1/3 Makefile: simplify all_sources macro

There is no SCCS file.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index b783684..a8ae67c 100644
@@ -175,7 +175,7 @@ clean:	arch_clean
 
 
 define all_sources
-     ( find . -name SCCS -prune -o -name '*.[chS]' -print )
+     ( find . -name '*.[chS]' -print )
 endef
 
 .PHONY: cscope
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#4 lore raw

PATCH 2/3 Makefile: add gtags target

In reply to Wei Liu

Use GNU Global to generate source code index.

---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)
Makefile +4 -0
index a8ae67c..43dcbd6 100644
@@ -190,3 +190,7 @@ tags:
 .PHONY: TAGS
 TAGS:
 	$(all_sources) | xargs etags
+
+.PHONY: gtags
+gtags:
+	$(all_sources) | gtags -f -
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
author
#7 lore raw

PATCH 3/3 gitignore: ignore files generated by various indexing software

In reply to Wei Liu
---
 .gitignore | 7 +++++++
 1 file changed, 7 insertions(+)
.gitignore +7 -0
index efc193c..e55133d 100644
@@ -2,6 +2,13 @@
 *.o
 *.a
 *.swp
+cscope.*
+GPATH
+GRTAGS
+GTAGS
+TAGS
+tags
+
 arch/x86/minios-x86*.lds
 include/list.h
 mini-os
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#3 lore raw

Re: [MINIOS PATCH 1/3] Makefile: simplify all_sources macro

In reply to Juergen Gross
Quoted 6 lines · Juergen Gross, on Mon 29 Aug 2016 15:07:20 +0200, wrote:
Quoted 3 lines · Wei Liu

There is no SCCS file.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#6 lore raw

Re: [MINIOS PATCH 2/3] Makefile: add gtags target

In reply to Juergen Gross
Quoted 6 lines · Juergen Gross, on Mon 29 Aug 2016 15:07:39 +0200, wrote:
Quoted 3 lines · Wei Liu

Use GNU Global to generate source code index.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#9 lore raw

Re: [MINIOS PATCH 3/3] gitignore: ignore files generated by various indexing software

In reply to Juergen Gross
Quoted 4 lines · Juergen Gross, on Mon 29 Aug 2016 15:07:55 +0200, wrote:
Quoted 1 line · Wei Liu

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author
#10 lore raw
In reply to Wei Liu
Quoted 9 lines · Wei Liu

Wei Liu (3):
Makefile: simplify all_sources macro
Makefile: add gtags target
gitignore: ignore files generated by various indexing software

 .gitignore | 7 +++++++
 Makefile   | 6 +++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

Pushed.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel