devtools: fix index generation

Message ID 20190304110419.47726-1-ferruh.yigit@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series devtools: fix index generation |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS

Commit Message

Ferruh Yigit March 4, 2019, 11:04 a.m. UTC
  build-tags.sh is broken because of removed 'test' folder, this breaks
helper make targets like 'make cscope', 'make tags', etc...

Fixing it by removing 'test' from source directories list.

Fixes: a9de470cc7c0 ("test: move to app directory")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
Cc: bruce.richardson@intel.com
---
 devtools/build-tags.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jerin Jacob Kollanukkaran March 4, 2019, 11:48 a.m. UTC | #1
On Mon, 2019-03-04 at 11:04 +0000, Ferruh Yigit wrote:
> ------------------------------------------------------------
> ---
> build-tags.sh is broken because of removed 'test' folder, this breaks
> helper make targets like 'make cscope', 'make tags', etc...
> 
> Fixing it by removing 'test' from source directories list.
> 
> Fixes: a9de470cc7c0 ("test: move to app directory")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
> Cc: bruce.richardson@intel.com
> ---

Acked-by: Jerin Jacob <jerinj@marvell.com>
  
Rami Rosen March 4, 2019, 8:48 p.m. UTC | #2
Reviewed-by: Rami Rosen <ramirose@gmail.com>

>
>
  
Thomas Monjalon March 4, 2019, 10 p.m. UTC | #3
> > build-tags.sh is broken because of removed 'test' folder, this breaks
> > helper make targets like 'make cscope', 'make tags', etc...
> > 
> > Fixing it by removing 'test' from source directories list.
> > 
> > Fixes: a9de470cc7c0 ("test: move to app directory")
> > 
> > Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> > ---
> > Cc: bruce.richardson@intel.com
> > ---
> 
> Acked-by: Jerin Jacob <jerinj@marvell.com>

Applied, thanks
  

Patch

diff --git a/devtools/build-tags.sh b/devtools/build-tags.sh
index 78001f048..03ba1853b 100755
--- a/devtools/build-tags.sh
+++ b/devtools/build-tags.sh
@@ -38,7 +38,7 @@  shift $(($OPTIND - 1))
 #ignore version control files
 ignore="( -name .svn -o -name CVS -o -name .hg -o -name .git ) -prune -o"
 
-source_dirs="test app buildtools drivers examples lib"
+source_dirs="app buildtools drivers examples lib"
 
 skip_bsd="( -name bsdapp ) -prune -o"
 skip_linux="( -name linuxapp ) -prune -o"