From: maximilian attems <max@stro.at>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: linux-kbuild <linux-kbuild@vger.kernel.org>,
Michal Marek <mmarek@suse.cz>,
Fathi Boudra <fathi.boudra@linaro.org>,
debian-arm@lists.debian.org
Subject: Re: [PATCH 1/2] deb-pkg: Add automatic support for armhf architecture
Date: Mon, 7 Oct 2013 15:38:25 +0200 [thread overview]
Message-ID: <20131007133825.GH11166@stro.at> (raw)
In-Reply-To: <1381079041.2788.25.camel@deadeye.wl.decadent.org.uk>
On Sun, Oct 06, 2013 at 06:04:01PM +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: maximilian attems <max@stro.at>
> ---
> scripts/package/builddeb | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/package/builddeb b/scripts/package/builddeb
> index 90e521f..e14c56e 100644
> --- a/scripts/package/builddeb
> +++ b/scripts/package/builddeb
> @@ -43,7 +43,16 @@ create_package() {
> mips*)
> debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el) ;;
> arm*)
> - debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el) ;;
> + if grep -q CONFIG_AEABI=y $KCONFIG_CONFIG; then
> + if grep -q CONFIG_VFP=y $KCONFIG_CONFIG; then
> + debarch=armhf
> + else
> + debarch=armel
> + fi
> + else
> + debarch=arm
> + fi
> + ;;
> *)
> echo "" >&2
> echo "** ** ** WARNING ** ** **" >&2
>
>
> --
> Ben Hutchings
> Who are all these weirdos? - David Bowie, reading IRC for the first time
next prev parent reply other threads:[~2013-10-07 13:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-06 17:04 [PATCH 1/2] deb-pkg: Add automatic support for armhf architecture Ben Hutchings
2013-10-07 13:38 ` maximilian attems [this message]
2013-10-07 15:01 ` Fathi Boudra
2013-10-08 0:23 ` Hector Oron
2013-10-13 19:59 ` Ben Hutchings
2013-10-24 10:59 ` Hector Oron
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=20131007133825.GH11166@stro.at \
--to=max@stro.at \
--cc=ben@decadent.org.uk \
--cc=debian-arm@lists.debian.org \
--cc=fathi.boudra@linaro.org \
--cc=linux-kbuild@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 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.