Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199518
b: refs/heads/master
c: f81b1be
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Michal Marek committed Feb 17, 2010
1 parent c1aec23 commit 294c6b9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0679c730395d0bde9a46939e7ba255b4ba7dd7c
refs/heads/master: f81b1be40c44b33b9706d64c117edd29e627ad12
20 changes: 14 additions & 6 deletions trunk/scripts/tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,20 @@ fi
# find sources in arch/$ARCH
find_arch_sources()
{
find ${tree}arch/$1 $ignore -name "$2" -print;
for i in $archincludedir; do
prune="$prune -wholename $i -prune -o"
done
find ${tree}arch/$1 $ignore $prune -name "$2" -print;
}

# find sources in arch/$1/include
find_arch_include_sources()
{
find ${tree}arch/$1/include $ignore -name "$2" -print;
include=$(find ${tree}arch/$1/ -name include -type d);
if [ -n "$include" ]; then
archincludedir="$archincludedir $include"
find $include $ignore -name "$2" -print;
fi
}

# find sources in include/
Expand All @@ -63,14 +70,15 @@ find_sources()

all_sources()
{
for arch in $ALLSOURCE_ARCHS
do
find_sources $arch '*.[chS]'
done
find_arch_include_sources ${ARCH} '*.[chS]'
if [ ! -z "$archinclude" ]; then
find_arch_include_sources $archinclude '*.[chS]'
fi
find_include_sources '*.[chS]'
for arch in $ALLSOURCE_ARCHS
do
find_sources $arch '*.[chS]'
done
find_other_sources '*.[chS]'
}

Expand Down

0 comments on commit 294c6b9

Please sign in to comment.