scripts/tags.sh: handle OMAP platforms properly
authorSam Protsenko <semen.protsenko@linaro.org>
Tue, 13 Dec 2016 00:40:51 +0000 (16:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Dec 2016 02:55:06 +0000 (18:55 -0800)
commit779d5eb375f8f3aa9b83d24cc8e3e56fe5dc9864
tree521adbd3098e4af7ef10065134ca263808a24e70
parent0d7bbb43641c35390378e951785f2351bc36650a
scripts/tags.sh: handle OMAP platforms properly

When SUBARCH is "omap1" or "omap2", plat-omap/ directory must be
indexed.  Handle this special case properly.

While at it, check if mach- directory exists at all.

Link: http://lkml.kernel.org/r/20161202122148.15001-1-joe.skb7@gmail.com
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Cc: Michal Marek <mmarek@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/tags.sh