diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2018-07-26 06:21:09 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-27 21:53:44 -0400 |
commit | 50d511ba6246c46654857b8ef64aefe76a87e455 (patch) | |
tree | 6d97cd5ad1ffdc421c080abb5abee8ccc7c406ac /scripts/package | |
parent | 08d3892cdcea7e918106bd78be5471d05b000b30 (diff) |
builddeb: Add automatic support for ppc64 and powerpcspe architectures
We currently label 64-bit big-endian kernel packages as
powerpc (32-bit), mostly because it was officially supported while
ppc64 (64-bit big-endian) was not. Now neither is officially
supported, so label these packages as ppc64.
Debian also has a powerpcspe (32-bit with SPE) architecture.
Label packages with a suitable configuration as powerpcspe.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/package')
-rwxr-xr-x | scripts/package/mkdebian | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index ada3c73d1493..0891974f499b 100755 --- a/scripts/package/mkdebian +++ b/scripts/package/mkdebian | |||
@@ -35,7 +35,12 @@ set_debarch() { | |||
35 | s390*) | 35 | s390*) |
36 | debarch=s390x ;; | 36 | debarch=s390x ;; |
37 | ppc*) | 37 | ppc*) |
38 | debarch=$(if_enabled_echo CPU_LITTLE_ENDIAN ppc64el powerpc) ;; | 38 | if is_enabled 64BIT; then |
39 | debarch=ppc64$(if_enabled_echo CPU_LITTLE_ENDIAN el) | ||
40 | else | ||
41 | debarch=powerpc$(if_enabled_echo SPE spe) | ||
42 | fi | ||
43 | ;; | ||
39 | parisc*) | 44 | parisc*) |
40 | debarch=hppa ;; | 45 | debarch=hppa ;; |
41 | mips*) | 46 | mips*) |