From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] builddeb: Use aarch64 instead of arm64 for UTS_MACHINE
Date: Fri, 9 Dec 2016 10:50:44 +0000 [thread overview]
Message-ID: <1481280644-15614-1-git-send-email-will.deacon@arm.com> (raw)
From: Michal Marek <mmarek@suse.com>
On arm64-based systems, uname -m reports "aarch64", so this is what
we should be using for UTS_MACHINE and matching that in the builddeb
script instead of "arm64".
There was a patch fixing this:
https://patchwork.kernel.org/patch/9305483/
but I accidentally merged v1 of the patch, which omitted the update to
builddeb. This patch follows up with that missing hunk.
Reported-by: Victor Chong <victor.chong@linaro.org>
Signed-off-by: Michal Marek <mmarek@suse.com>
[will: salvaged missing hunk from original patch]
Signed-off-by: Will Deacon <will.deacon@arm.com>
---
scripts/package/builddeb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 8ea9fd2b6573..9530b1634a02 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -51,7 +51,7 @@ set_debarch() {
debarch=hppa ;;
mips*)
debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
- arm64)
+ aarch64*)
debarch=arm64 ;;
arm*)
if grep -q CONFIG_AEABI=y $KCONFIG_CONFIG; then
--
2.1.4
next reply other threads:[~2016-12-09 10:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-09 10:50 Will Deacon [this message]
2016-12-15 3:55 ` [PATCH] builddeb: Use aarch64 instead of arm64 for UTS_MACHINE Victor Chong
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=1481280644-15614-1-git-send-email-will.deacon@arm.com \
--to=will.deacon@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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