There are many subarch on ARM, and each subarch use their vendor's platform code. Typical name of platform code use their product series or vendor name.
This patch support SUBPLAT for platform code. Signed-off-by: Woosung Lee <wstar....@samsung.com> Cc: Joonsoo Kim <js1...@gmail.com> --- scripts/tags.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/tags.sh b/scripts/tags.sh index 26a87e6..b609d1e 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -276,7 +276,7 @@ if [ "${ARCH}" = "um" ]; then else archinclude=${SUBARCH} fi -elif [ "${SRCARCH}" = "arm" -a "${SUBARCH}" != "" ]; then +elif [ "${SRCARCH}" = "arm" -a "${SUBARCH}" != "" -o "${SUBPLAT}" != "" ]; then subarchdir=$(find ${tree}arch/$SRCARCH/ -name "mach-*" -type d -o \ -name "plat-*" -type d); for i in $subarchdir; do @@ -285,6 +285,8 @@ elif [ "${SRCARCH}" = "arm" -a "${SUBARCH}" != "" ]; then ;; *"plat-"${SUBARCH}) ;; + *"plat-"${SUBPLAT}) + ;; *) subarchprune="$subarchprune \ -wholename $i -prune -o" -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/