[<prev] [next>] [day] [month] [year] [list]
Message-id: <001701ce3c99$147f8f50$3d7eadf0$%lee@samsung.com>
Date: Fri, 19 Apr 2013 09:59:00 +0900
From: Woosung Lee <wstar.lee@...sung.com>
To: linux-kernel@...r.kernel.org, mmarek@...e.cz
Cc: js1304@...il.com
Subject: [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 <wstar.lee@...sung.com>
Cc: Joonsoo Kim <js1304@...il.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists