Patchwork mtd-utils: Makefile: introduce cscope target

login
register
mail settings
Submitter Artem Bityutskiy
Date April 8, 2011, 12:11 p.m.
Message ID <1302264689-3513-1-git-send-email-dedekind1@gmail.com>
Download mbox | patch
Permalink /patch/90308/
State New
Headers show

Comments

Artem Bityutskiy - April 8, 2011, 12:11 p.m.
From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

Add a "cscope" target to make it easier to develop in the repository.
Indeed, many people like me are accustomed to "make cscope" in the
kernel, and it is very convenient to have this in mtd-utils as well.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
---
 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/Makefile b/Makefile
index 1f264e9..6a65258 100644
--- a/Makefile
+++ b/Makefile
@@ -64,3 +64,6 @@  install:: ${TARGETS} ${SCRIPTS}
 
 tests::
 	$(MAKE) -C $(TESTS)
+
+cscope:
+	cscope -bR