summaryrefslogtreecommitdiffstats
path: root/debian/config/sh4
diff options
context:
space:
mode:
Diffstat (limited to 'debian/config/sh4')
-rw-r--r--debian/config/sh4/defines30
-rw-r--r--debian/config/sh4/defines.toml24
2 files changed, 24 insertions, 30 deletions
diff --git a/debian/config/sh4/defines b/debian/config/sh4/defines
deleted file mode 100644
index 46f2633ec0..0000000000
--- a/debian/config/sh4/defines
+++ /dev/null
@@ -1,30 +0,0 @@
-[base]
-flavours:
- sh7751r
- sh7785lcr
-kernel-arch: sh
-
-[build]
-image-file: arch/sh/boot/zImage
-
-[image]
-install-stem: vmlinuz
-
-[sh7751r_description]
-hardware: sh7751r
-hardware-long: Renesas SH7751R R2D plus board
-
-[sh7751r_packages]
-installer: true
-
-[sh7785lcr_description]
-hardware: sh7785lcr
-hardware-long: Renesas SH7785 reference board
-
-[sh7785lcr_image]
-recommends: u-boot-tools
-# Kernel partition size: 4MB
-check-size: 4194304
-
-[sh7785lcr_packages]
-installer: true
diff --git a/debian/config/sh4/defines.toml b/debian/config/sh4/defines.toml
new file mode 100644
index 0000000000..cf13488dce
--- /dev/null
+++ b/debian/config/sh4/defines.toml
@@ -0,0 +1,24 @@
+[[flavour]]
+name = 'sh7751r'
+[flavour.description]
+hardware = 'sh7751r'
+hardware_long = 'Renesas SH7751R R2D plus board'
+[flavour.packages]
+installer = true
+
+[[flavour]]
+name = 'sh7785lcr'
+[flavour.description]
+hardware = 'sh7785lcr'
+hardware_long = 'Renesas SH7785 reference board'
+[flavour.packages]
+installer = true
+[flavour.relations.image]
+recommends = ['u-boot-tools']
+
+[[featureset]]
+name = 'none'
+
+[build]
+kernel_file = 'arch/sh/boot/zImage'
+kernel_stem = 'vmlinuz'