summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2014-06-09 01:24:22 +0100
committerMichal Marek <mmarek@suse.cz>2014-06-10 14:49:12 +0200
commita1323fd16350da0d3431926cfafda296f8ffd596 (patch)
treebf89d314b04299909fbd538991b68ac8e05ee212 /scripts
parent90829adb4a8ea3b007bd8c63f5b54fddb7972bec (diff)
downloadop-kernel-dev-a1323fd16350da0d3431926cfafda296f8ffd596.zip
op-kernel-dev-a1323fd16350da0d3431926cfafda296f8ffd596.tar.gz
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 <zlinuxman@wowway.com> References: https://bugs.debian.org/750925 Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package/builddeb2
1 files changed, 1 insertions, 1 deletions
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*)
OpenPOWER on IntegriCloud