All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] deb-pkg: Add automatic support for s390x architecture
@ 2013-10-06 17:05 Ben Hutchings
  2013-10-07 13:38 ` maximilian attems
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Hutchings @ 2013-10-06 17:05 UTC (permalink / raw)
  To: linux-kbuild; +Cc: maximilian attems, Michal Marek, debian-s390

[-- Attachment #1: Type: text/plain, Size: 876 bytes --]

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>
---
 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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] deb-pkg: Add automatic support for s390x architecture
  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
  2013-10-25 13:15   ` Michal Marek
  0 siblings, 1 reply; 3+ messages in thread
From: maximilian attems @ 2013-10-07 13:38 UTC (permalink / raw)
  To: Ben Hutchings; +Cc: linux-kbuild, Michal Marek, debian-s390

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] deb-pkg: Add automatic support for s390x architecture
  2013-10-07 13:38 ` maximilian attems
@ 2013-10-25 13:15   ` Michal Marek
  0 siblings, 0 replies; 3+ messages in thread
From: Michal Marek @ 2013-10-25 13:15 UTC (permalink / raw)
  To: maximilian attems; +Cc: Ben Hutchings, linux-kbuild, debian-s390

On Mon, Oct 07, 2013 at 03:38:35PM +0200, maximilian attems wrote:
> 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>

Added to kbuild.git#misc, thanks.

Michal

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-25 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2013-10-25 13:15   ` Michal Marek

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.