public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
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>,
	debian-s390@lists.debian.org
Subject: Re: [PATCH 2/2] deb-pkg: Add automatic support for s390x architecture
Date: Mon, 7 Oct 2013 15:38:35 +0200	[thread overview]
Message-ID: <20131007133835.GI11166@stro.at> (raw)
In-Reply-To: <1381079114.2788.26.camel@deadeye.wl.decadent.org.uk>

On Sun, Oct 06, 2013 at 06:05:14PM +0100, Ben Hutchings wrote:
> The Debian s390x architecture has 64-bit userland whereas s390 has
> 32-bit userland.  A 64-bit kernel can be used with either.  Now that
> Debian supports multiarch and officially supports s390x, it makes more
> sense to assign a 64-bit kernel package to s390x.
> 
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: maximilian attems <max@stro.at>
> ---
>  scripts/package/builddeb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/package/builddeb b/scripts/package/builddeb
> index e14c56e..25c5abd 100644
> --- a/scripts/package/builddeb
> +++ b/scripts/package/builddeb
> @@ -35,7 +35,7 @@ create_package() {
>  	sparc*)
>  		debarch=sparc ;;
>  	s390*)
> -		debarch=s390 ;;
> +		debarch=s390$(grep -q CONFIG_64BIT=y $KCONFIG_CONFIG && echo x) ;;
>  	ppc*)
>  		debarch=powerpc ;;
>  	parisc*)
> 
> -- 
> Ben Hutchings
> Who are all these weirdos? - David Bowie, reading IRC for the first time



  reply	other threads:[~2013-10-07 13:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-06 17:05 [PATCH 2/2] deb-pkg: Add automatic support for s390x architecture Ben Hutchings
2013-10-07 13:38 ` maximilian attems [this message]
2013-10-25 13:15   ` 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:
  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=20131007133835.GI11166@stro.at \
    --to=max@stro.at \
    --cc=ben@decadent.org.uk \
    --cc=debian-s390@lists.debian.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox