scripts/tags.sh: Support SUBPLAT for ARM
PATCH 1/1 scripts/tags.sh: Support SUBPLAT for ARM
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 <[email protected]>
Cc Joonsoo Kim <[email protected]>
--- scripts/tags.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
scripts/tags.sh +1 -1
@@ -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"
Signature · 1 line
1.7.9.5