[mips{,64}r6{,el}] Add kernel flavours for the Malta platform; build linux-libc-dev and tools packages

Closes: #825024; thanks to YunQiang Su
This commit is contained in:
Ben Hutchings 2016-05-23 23:03:41 +01:00
parent 967b0f144e
commit e8cbc41731
30 changed files with 221 additions and 2 deletions

3
debian/changelog vendored
View File

@ -15,6 +15,9 @@ linux (4.6-1~exp2) UNRELEASED; urgency=medium
to modules
* 8139too: Use same configuration on all architectures: enable
8139TOO_TUNE_TWISTER, 8139TOO_8129 and disable 8139TOO_PIO
* [mipsn32{,r6}{,el}] Build a linux-libc-dev package
* [mips{,64}r6{,el}] Add kernel flavours for the Malta platform; build
linux-libc-dev and tools packages (Closes: #825024; thanks to YunQiang Su)
[ Aurelien Jarno ]
* [mips64el] Set CPU to MIPS64 R2.

View File

@ -13,8 +13,16 @@ arches:
m68k
mips
mipsel
mipsn32
mipsn32el
mips64
mips64el
mipsr6
mipsr6el
mipsn32r6
mipsn32r6el
mips64r6
mips64r6el
or1k
powerpc
powerpcspe

View File

@ -0,0 +1,10 @@
##
## file: arch/mips/Kconfig
##
## choice: CPU type
CONFIG_CPU_MIPS32_R6=y
## end choice
## choice: Kernel code model
CONFIG_32BIT=y
## end choice

View File

@ -0,0 +1,10 @@
##
## file: arch/mips/Kconfig
##
## choice: CPU type
CONFIG_CPU_MIPS64_R6=y
## end choice
## choice: Kernel code model
CONFIG_64BIT=y
## end choice

8
debian/config/mips64r6/config vendored Normal file
View File

@ -0,0 +1,8 @@
##
## file: arch/mips/Kconfig
##
## choice: Endianness selection
CONFIG_CPU_BIG_ENDIAN=y
# CONFIG_CPU_LITTLE_ENDIAN is not set
## end choice

20
debian/config/mips64r6/defines vendored Normal file
View File

@ -0,0 +1,20 @@
[base]
flavours:
mips64r6
kernel-arch: mips
[build]
image-file: vmlinux
[image]
install-stem: vmlinux
[mips64r6_description]
hardware: MIPS R6 (64 bit, big endian)
hardware-long: MIPS R6 (64 bit, big endian)
[mips64r6_image]
configs:
kernelarch-mips/config.malta
kernelarch-mips/config.5kc-malta-r6

8
debian/config/mips64r6el/config vendored Normal file
View File

@ -0,0 +1,8 @@
##
## file: arch/mips/Kconfig
##
## choice: Endianness selection
# CONFIG_CPU_BIG_ENDIAN is not set
CONFIG_CPU_LITTLE_ENDIAN=y
## end choice

20
debian/config/mips64r6el/defines vendored Normal file
View File

@ -0,0 +1,20 @@
[base]
flavours:
mips64r6el
kernel-arch: mips
[build]
image-file: vmlinux
[image]
install-stem: vmlinux
[mips64r6el_description]
hardware: MIPS R6 (64 bit, little endian)
hardware-long: MIPS R6 (64 bit, little endian)
[mips64r6el_image]
configs:
kernelarch-mips/config.malta
kernelarch-mips/config.5kc-malta-r6

4
debian/config/mipsn32/defines vendored Normal file
View File

@ -0,0 +1,4 @@
[base]
kernel-arch: mips
featuresets:
# empty; mipsn32 must be part of a multiarch installation with a mips64 kernel

4
debian/config/mipsn32el/defines vendored Normal file
View File

@ -0,0 +1,4 @@
[base]
kernel-arch: mips
featuresets:
# empty; mipsn32el must be part of a multiarch installation with a mips64el kernel

4
debian/config/mipsn32r6/defines vendored Normal file
View File

@ -0,0 +1,4 @@
[base]
kernel-arch: mips
featuresets:
# empty; mipsn32r6 must be part of a multiarch installation with a mips64r6 kernel

4
debian/config/mipsn32r6el/defines vendored Normal file
View File

@ -0,0 +1,4 @@
[base]
kernel-arch: mips
featuresets:
# empty; mipsn32r6el must be part of a multiarch installation with a mips64r6el kernel

8
debian/config/mipsr6/config vendored Normal file
View File

@ -0,0 +1,8 @@
##
## file: arch/mips/Kconfig
##
## choice: Endianness selection
CONFIG_CPU_BIG_ENDIAN=y
# CONFIG_CPU_LITTLE_ENDIAN is not set
## end choice

30
debian/config/mipsr6/defines vendored Normal file
View File

@ -0,0 +1,30 @@
[base]
flavours:
mips32r6
mips64r6
kernel-arch: mips
[build]
image-file: vmlinux
[image]
install-stem: vmlinux
[mips32r6_description]
hardware: MIPS R6 (32 bit, big endian)
hardware-long: MIPS R6 (32 bit, big endian)
[mips32r6_image]
configs:
kernelarch-mips/config.malta
kernelarch-mips/config.4kc-malta-r6
[mips64r6_description]
hardware: MIPS R6 (64 bit, big endian)
hardware-long: MIPS R6 (64 bit, big endian)
[mips64r6_image]
configs:
kernelarch-mips/config.malta
kernelarch-mips/config.5kc-malta-r6

8
debian/config/mipsr6el/config vendored Normal file
View File

@ -0,0 +1,8 @@
##
## file: arch/mips/Kconfig
##
## choice: Endianness selection
# CONFIG_CPU_BIG_ENDIAN is not set
CONFIG_CPU_LITTLE_ENDIAN=y
## end choice

30
debian/config/mipsr6el/defines vendored Normal file
View File

@ -0,0 +1,30 @@
[base]
flavours:
mips32r6el
mips64r6el
kernel-arch: mips
[build]
image-file: vmlinux
[image]
install-stem: vmlinux
[mips32r6el_description]
hardware: MIPS R6 (32 bit, little endian)
hardware-long: MIPS R6 (32 bit, little endian)
[mips32r6el_image]
configs:
kernelarch-mips/config.malta
kernelarch-mips/config.4kc-malta-r6
[mips64r6el_description]
hardware: MIPS R6 (64 bit, little endian)
hardware-long: MIPS R6 (64 bit, little endian)
[mips64r6el_image]
configs:
kernelarch-mips/config.malta
kernelarch-mips/config.5kc-malta-r6

View File

@ -0,0 +1,2 @@
# arch version flavour installedname suffix build-depends
mips64r6 - mips64r6 - y -

View File

@ -0,0 +1 @@
../../mips/modules/mips

View File

@ -0,0 +1,7 @@
# This file is used to build up the control file. The kernel version and
# "-di" are appended to the package names. Section can be left out. So can
# architecture, which is derived from the files in the modules directory.
# It overwrites specifications from /usr/share/kernel-wedge/package-list.
#
Package: kernel-image
Provides: rtc-modules

View File

@ -0,0 +1,2 @@
# arch version flavour installedname suffix build-depends
mips64r6el - mips64r6 - y -

View File

@ -0,0 +1 @@
../../mips/modules/mips

View File

@ -0,0 +1,7 @@
# This file is used to build up the control file. The kernel version and
# "-di" are appended to the package names. Section can be left out. So can
# architecture, which is derived from the files in the modules directory.
# It overwrites specifications from /usr/share/kernel-wedge/package-list.
#
Package: kernel-image
Provides: rtc-modules

View File

@ -0,0 +1,2 @@
# arch version flavour installedname suffix build-depends
mipsr6 - mips32r6 - y -

1
debian/installer/mipsr6/modules/mips32r6 vendored Symbolic link
View File

@ -0,0 +1 @@
../../mips/modules/mips

7
debian/installer/mipsr6/package-list vendored Normal file
View File

@ -0,0 +1,7 @@
# This file is used to build up the control file. The kernel version and
# "-di" are appended to the package names. Section can be left out. So can
# architecture, which is derived from the files in the modules directory.
# It overwrites specifications from /usr/share/kernel-wedge/package-list.
#
Package: kernel-image
Provides: rtc-modules

View File

@ -0,0 +1,2 @@
# arch version flavour installedname suffix build-depends
mipsr6el - mips32r6 - y -

View File

@ -0,0 +1 @@
../../mips/modules/mips

View File

@ -0,0 +1,7 @@
# This file is used to build up the control file. The kernel version and
# "-di" are appended to the package names. Section can be left out. So can
# architecture, which is derived from the files in the modules directory.
# It overwrites specifications from /usr/share/kernel-wedge/package-list.
#
Package: kernel-image
Provides: rtc-modules

View File

@ -34,7 +34,7 @@ Build-Depends:
libelf-dev <!stage1 !pkg.linux.notools>,
libiberty-dev <!stage1 !pkg.linux.notools>,
libnewt-dev <!stage1 !pkg.linux.notools>,
libnuma-dev [amd64 arm64 hppa i386 mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el sparc x32] <!stage1 !pkg.linux.notools>,
libnuma-dev [amd64 arm64 hppa i386 mips mips64 mips64el mipsel mipsn32 mipsn32el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el powerpc powerpcspe ppc64 ppc64el sparc x32] <!stage1 !pkg.linux.notools>,
libperl-dev <!stage1 !pkg.linux.notools>,
libunwind8-dev [amd64 armel armhf arm64 i386] <!stage1 !pkg.linux.notools>,
python-dev <!stage1 !pkg.linux.notools>,

View File

@ -41,7 +41,7 @@ Description: CPU frequency and voltage scaling tools for Linux (development file
Package: linux-perf-@version@
Build-Profiles: <!stage1 !pkg.linux.notools>
Section: devel
Architecture: alpha amd64 arm64 armel armhf hppa i386 mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390 s390x sh4 sparc sparc64
Architecture: alpha amd64 arm64 armel armhf hppa i386 mips mips64 mips64el mipsel mipsn32 mipsn32el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el powerpc powerpcspe ppc64 ppc64el s390 s390x sh4 sparc sparc64
Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, ${python:Depends}
Recommends: linux-base (>= 3.4~)
Provides: linux-tools-@version@