]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - scripts/package/builddeb
deb-pkg: Add automatic support for s390x architecture
[karo-tx-linux.git] / scripts / package / builddeb
index ae7e607dc286a9c9bde343dfed95b8b16c4471cc..c8e04b33b0646199bce7d6ff6aba14f8b200b81b 100644 (file)
@@ -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*)