Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199522
b: refs/heads/master
c: bc75cc6
h: refs/heads/master
v: v3
  • Loading branch information
John Kacur authored and Michal Marek committed Mar 3, 2010
1 parent 003dfd3 commit 06b4ebb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4431d4ce996de2cd2c45583209ba0dbbc9bf2795
refs/heads/master: bc75cc6b5636eed5f6a481cba808e906f71cfd94
4 changes: 4 additions & 0 deletions trunk/Documentation/kbuild/kbuild.txt
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,7 @@ For tags/TAGS/cscope targets, you can specify more than one arch
to be included in the databases, separated by blank space. E.g.:

$ make ALLSOURCE_ARCHS="x86 mips arm" tags

To get all available archs you can also specify all. E.g.:

$ make ALLSOURCE_ARCHS=all tags
11 changes: 11 additions & 0 deletions trunk/scripts/tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,20 @@ else
tree=${srctree}/
fi

# Find all available archs
find_all_archs()
{
ALLSOURCE_ARCHS=""
for arch in `ls ${tree}arch`; do
ALLSOURCE_ARCHS="${ALLSOURCE_ARCHS} "${arch##\/}
done
}

# Detect if ALLSOURCE_ARCHS is set. If not, we assume SRCARCH
if [ "${ALLSOURCE_ARCHS}" = "" ]; then
ALLSOURCE_ARCHS=${SRCARCH}
elif [ "${ALLSOURCE_ARCHS}" = "all" ]; then
find_all_archs
fi

# find sources in arch/$ARCH
Expand Down

0 comments on commit 06b4ebb

Please sign in to comment.