mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Woosung Lee <wstar.lee@samsung.com>
To: linux-kernel@vger.kernel.org, mmarek@suse.cz
Cc: js1304@gmail.com
Subject: [PATCH 1/1] scripts/tags.sh: Support SUBPLAT for ARM
Date: Fri, 19 Apr 2013 09:59:00 +0900	[thread overview]
Message-ID: <001701ce3c99$147f8f50$3d7eadf0$%lee@samsung.com> (raw)

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


                 reply	other threads:[~2013-04-19  0:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001701ce3c99$147f8f50$3d7eadf0$%lee@samsung.com' \
    --to=wstar.lee@samsung.com \
    --cc=js1304@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®