OSDN Git Service

builddeb: Add automatic support for sparc64 architecture
authorBen Hutchings <ben@decadent.org.uk>
Thu, 26 Jul 2018 10:22:27 +0000 (11:22 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 28 Jul 2018 01:53:44 +0000 (10:53 +0900)
We currently label 64-bit kernel packages as sparc (32-bit), mostly
because it was officially supported while sparc64 was not.  Now
neither is officially supported, so label these packages as sparc64.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/mkdebian

index 5954829..83179a4 100755 (executable)
@@ -31,7 +31,7 @@ set_debarch() {
        x86_64)
                debarch=amd64 ;;
        sparc*)
-               debarch=sparc ;;
+               debarch=sparc$(if_enabled_echo 64BIT 64) ;;
        s390*)
                debarch=s390x ;;
        ppc*)