summaryrefslogtreecommitdiffstats
path: root/debian/config/defines
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/config/defines44
-rw-r--r--debian/config/defines.toml110
2 files changed, 110 insertions, 44 deletions
diff --git a/debian/config/defines b/debian/config/defines
deleted file mode 100644
index c89aa72a7b..0000000000
--- a/debian/config/defines
+++ /dev/null
@@ -1,44 +0,0 @@
-[base]
-arches:
- alpha
- amd64
- arm64
- armel
- armhf
- hppa
- i386
- ia64
- m68k
- mips
- mips64
- mips64el
- mips64r6el
- mipsel
- powerpc
- ppc64
- ppc64el
- riscv64
- s390x
- sh4
- sparc64
- x32
-compiler: gcc-13
-featuresets:
- none
- rt
-
-[build]
-# Disable code signing by default; this can be overridden per-architecture
-signed-code: false
-
-[featureset-rt_base]
-enabled: true
-
-[description]
-part-long-up: This kernel is not suitable for SMP (multi-processor,
- multi-core or hyper-threaded) systems.
-
-[image]
-depends: initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool
-breaks: fwupdate (<< 12-7), wireless-regdb (<< 2019.06.03-1~)
-recommends: apparmor
diff --git a/debian/config/defines.toml b/debian/config/defines.toml
new file mode 100644
index 0000000000..2f70bb9c2c
--- /dev/null
+++ b/debian/config/defines.toml
@@ -0,0 +1,110 @@
+[[kernelarch]]
+name = 'alpha'
+ [[kernelarch.debianarch]]
+ name = 'alpha'
+
+[[kernelarch]]
+name = 'arm'
+ [[kernelarch.debianarch]]
+ name = 'armel'
+ [[kernelarch.debianarch]]
+ name = 'armhf'
+
+[[kernelarch]]
+name = 'arm64'
+ [[kernelarch.debianarch]]
+ name = 'arm64'
+
+[[kernelarch]]
+name = 'parisc'
+ [[kernelarch.debianarch]]
+ name = 'hppa'
+
+[[kernelarch]]
+name = 'loongarch'
+ [[kernelarch.debianarch]]
+ name = 'loong64'
+
+[[kernelarch]]
+name = 'm68k'
+ [[kernelarch.debianarch]]
+ name = 'm68k'
+
+[[kernelarch]]
+name = 'mips'
+ [[kernelarch.debianarch]]
+ name = 'mips'
+ [[kernelarch.debianarch]]
+ name = 'mips64'
+ [[kernelarch.debianarch]]
+ name = 'mips64el'
+ [[kernelarch.debianarch]]
+ name = 'mips64r6el'
+ [[kernelarch.debianarch]]
+ name = 'mipsel'
+
+[[kernelarch]]
+name = 'powerpc'
+ [[kernelarch.debianarch]]
+ name = 'powerpc'
+ [[kernelarch.debianarch]]
+ name = 'ppc64'
+ [[kernelarch.debianarch]]
+ name = 'ppc64el'
+
+[[kernelarch]]
+name = 'riscv'
+ [[kernelarch.debianarch]]
+ name = 'riscv64'
+
+[[kernelarch]]
+name = 's390'
+ [[kernelarch.debianarch]]
+ name = 's390x'
+
+[[kernelarch]]
+name = 'sh'
+ [[kernelarch.debianarch]]
+ name = 'sh4'
+
+[[kernelarch]]
+name = 'sparc'
+ [[kernelarch.debianarch]]
+ name = 'sparc64'
+
+[[kernelarch]]
+name = 'x86'
+ [[kernelarch.debianarch]]
+ name = 'amd64'
+ [[kernelarch.debianarch]]
+ name = 'i386'
+ [[kernelarch.debianarch]]
+ name = 'x32'
+
+[[featureset]]
+name = 'none'
+
+[[featureset]]
+name = 'rt'
+enable = true
+ [featureset.description]
+ parts = ['rt']
+ [featureset.description.long]
+ rt = 'This kernel includes the PREEMPT_RT realtime patch set.'
+ [featureset.description.short]
+ rt = 'PREEMPT_RT'
+
+[build]
+compiler = 'gcc-13'
+
+[relations.image]
+depends = [
+ 'initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool',
+]
+recommends = [
+ 'apparmor',
+]
+breaks = [
+ 'fwupdate (<< 12-7)',
+ 'wireless-regdb (<< 2019.06.03-1~)',
+]