Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122986
b: refs/heads/master
c: 709cc37
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Sam Ravnborg committed Dec 13, 2008
1 parent baf3817 commit db24830
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 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: 31110ebbec8688c6e9597b641101afc94e1c762a
refs/heads/master: 709cc372cad628846d73447edfd95ac39c8e2319
24 changes: 12 additions & 12 deletions trunk/scripts/tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,28 @@ ignore="( -name SCCS -o -name BitKeeper -o -name .svn -o \
-prune -o"

# Do not use full path is we do not use O=.. builds
if [ ${src} == ${obj} ]; then
if [ "${KBUILD_SRC}" == "" ]; then
tree=
else
tree=${srctree}
tree=${srctree}/
fi

# find sources in arch/$ARCH
find_arch_sources()
{
find ${tree}arch/$1 $ignore -name $2 -print;
find ${tree}arch/$1 $ignore -name "$2" -print;
}

# find sources in arch/$1/include
find_arch_include_sources()
{
find ${tree}arch/$1/include $ignore -name $2 -print;
find ${tree}arch/$1/include $ignore -name "$2" -print;
}

# find sources in include/
find_include_sources()
{
find ${tree}include $ignore -name config -prune -o -name $1 -print;
find ${tree}include $ignore -name config -prune -o -name "$1" -print;
}

# find sources in rest of tree
Expand All @@ -48,27 +48,27 @@ find_other_sources()
{
find ${tree}* $ignore \
\( -name include -o -name arch -o -name '.tmp_*' \) -prune -o \
-name $1 -print;
-name "$1" -print;
}

find_sources()
{
find_arch_sources $1 $2
find_include_sources $2
find_other_sources $2
find_arch_sources $1 "$2"
find_include_sources "$2"
find_other_sources "$2"
}

all_sources()
{
find_sources $SRCARCH *.[chS]
find_sources $SRCARCH '*.[chS]'
if [ ! -z "$archinclude" ]; then
find_arch_include_sources $archinclude *.[chS]
find_arch_include_sources $archinclude '*.[chS]'
fi
}

all_kconfigs()
{
find_sources $SRCARCH "Kconfig*"
find_sources $SRCARCH 'Kconfig*'
}

all_defconfigs()
Expand Down

0 comments on commit db24830

Please sign in to comment.