mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] scripts/tags.sh: Support SUBPLAT for ARM
@ 2013-04-19  0:59 Woosung Lee
  0 siblings, 0 replies; only message in thread
From: Woosung Lee @ 2013-04-19  0:59 UTC (permalink / raw)
  To: linux-kernel, mmarek; +Cc: js1304

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@samsung.com>
Cc: Joonsoo Kim <js1304@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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-19  0:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-19  0:59 [PATCH 1/1] scripts/tags.sh: Support SUBPLAT for ARM Woosung Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®