public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ijc@hellion.org.uk>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: linux-kbuild <linux-kbuild@vger.kernel.org>,
	maximilian attems <max@stro.at>, Michal Marek <mmarek@suse.cz>,
	Fathi Boudra <fathi.boudra@linaro.org>,
	debian-arm@lists.debian.org, Hector Oron <hector.oron@gmail.com>
Subject: Re: [PATCH v2 1/2] deb-pkg: Add automatic support for armhf architecture
Date: Mon, 09 Jun 2014 08:04:48 +0100	[thread overview]
Message-ID: <1402297488.31087.5.camel@dagon.hellion.org.uk> (raw)
In-Reply-To: <1402273294.23860.59.camel@deadeye.wl.decadent.org.uk>

On Mon, 2014-06-09 at 01:21 +0100, Ben Hutchings wrote:
> The Debian armhf architecture uses the ARM EABI hard-float variant,
> whereas armel uses the soft-float variant.  Although the kernel
> doesn't use FP itself, CONFIG_VFP must be enabled to support
> hard-float userland and will probably be disabled when supporting a
> soft-float userland.  So set the architecture to armhf by default when
> CONFIG_AEABI and CONFIG_VFP are both enabled.
> 
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

Acked-by: Ian Campbell <ijc@hellion.org.uk>

We should also add the following. If there is some reason to do a v3
feel free to squash it into you patch (if you wish).

8<-------------------------

From 3746add23576c58ca567e53b65c4c0cb40f48deb Mon Sep 17 00:00:00 2001
From: Ian Campbell <ijc@hellion.org.uk>
Date: Mon, 9 Jun 2014 08:00:56 +0100
Subject: [PATCH] deb-pkg: Add automatic support for arm64 architecture.

The Debian arch corresponding the kernel ARCH=arm64 is arm64. List this
explicitly to prevent falling through to the 32-bit ARM autodetection.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
---
 scripts/package/builddeb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index d035df4..8d97fa8 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -28,7 +28,7 @@ create_package() {
 	# Attempt to find the correct Debian architecture
 	local forcearch="" debarch=""
 	case "$UTS_MACHINE" in
-	i386|ia64|alpha)
+	i386|ia64|alpha|arm64)
 		debarch="$UTS_MACHINE" ;;
 	x86_64)
 		debarch=amd64 ;;
-- 
1.9.0




  reply	other threads:[~2014-06-09  7:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09  0:21 [PATCH v2 1/2] deb-pkg: Add automatic support for armhf architecture Ben Hutchings
2014-06-09  7:04 ` Ian Campbell [this message]
2014-06-10 21:42   ` Ben Hutchings
2014-06-11  6:33     ` Ian Campbell
2014-06-10  8:10 ` Fathi Boudra
2014-06-10 13:06 ` Riku Voipio
2014-07-14 14:14   ` Riku Voipio

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=1402297488.31087.5.camel@dagon.hellion.org.uk \
    --to=ijc@hellion.org.uk \
    --cc=ben@decadent.org.uk \
    --cc=debian-arm@lists.debian.org \
    --cc=fathi.boudra@linaro.org \
    --cc=hector.oron@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=max@stro.at \
    --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