From: Ben Hutchings Date: Mon, 9 Jun 2014 00:24:22 +0000 (+0100) Subject: deb-pkg: Add automatic support for s390x architecture X-Git-Tag: v3.16-rc1~18^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1323fd16350da0d3431926cfafda296f8ffd596;p=platform%2Fkernel%2Flinux-exynos.git deb-pkg: Add automatic support for s390x architecture 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. Reported-by: Stephen Powell References: https://bugs.debian.org/750925 Signed-off-by: Ben Hutchings Signed-off-by: Michal Marek --- diff --git a/scripts/package/builddeb b/scripts/package/builddeb index ae7e607..c8e04b3 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 || true) ;; ppc*) debarch=powerpc ;; parisc*)