All of
 help / color / mirror / Atom feed
From: Adam Borowski <>
To: Michal Marek <>,
	linux-kbuild <>
Cc: Adam Borowski <>
Subject: [PATCH ping] builddeb: fix cross-building to arm64 producing host-arch debs
Date: Thu, 24 Nov 2016 02:27:03 +0100	[thread overview]
Message-ID: <> (raw)

Both Debian and kernel archs are "arm64" but UTS_MACHINE and gcc say
"aarch64".  Recognizing just the latter should be enough but let's
accept both in case something regresses again or an user sets

Regressed in cfa88c7: arm64: Set UTS_MACHINE in the Makefile.

Signed-off-by: Adam Borowski <>
Acked-by: Riku Voipio <>
As 4.9 is not only a LTS, but also the kernel Debian stretch will use,
fixing this regression would be really nice.

 scripts/package/builddeb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 8ea9fd2..3c575cd0 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -51,7 +51,7 @@ set_debarch() {
 		debarch=hppa ;;
 		debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
-	arm64)
+	aarch64|arm64)
 		debarch=arm64 ;;
 		if grep -q CONFIG_AEABI=y $KCONFIG_CONFIG; then

             reply	other threads:[~2016-11-24  1:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-24  1:27 Adam Borowski [this message]
2016-11-25 11:36 ` [PATCH ping] builddeb: fix cross-building to arm64 producing host-arch debs Riku Voipio
2016-11-25 14:44   ` Michal Marek

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:

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

  git send-email \ \ \ \ \

* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.