diff mbox series

[SRU,G/raspi,1/2] UBUNTU: [Packaging] raspi: Add new flavor raspi-nolpae for armhf

Message ID 20200924084100.154538-2-juergh@canonical.com
State New
Headers show
Series LP: #1896761 - Provide a raspi-nolpae kernel flavor | expand

Commit Message

Juerg Haefliger Sept. 24, 2020, 8:40 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1896761

This commit adds the plumbing for building the new armhf raspi-nolpae
flavor. A subsequent commit will introduce the actual config changes that
define the new flavor.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
---
 debian.raspi/config/armhf/config.flavour.raspi-nolpae | 3 +++
 debian.raspi/control.d/vars.raspi-nolpae              | 6 ++++++
 debian.raspi/rules.d/armhf.mk                         | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100644 debian.raspi/config/armhf/config.flavour.raspi-nolpae
 create mode 100644 debian.raspi/control.d/vars.raspi-nolpae
diff mbox series

Patch

diff --git a/debian.raspi/config/armhf/config.flavour.raspi-nolpae b/debian.raspi/config/armhf/config.flavour.raspi-nolpae
new file mode 100644
index 000000000000..c1018162d0b9
--- /dev/null
+++ b/debian.raspi/config/armhf/config.flavour.raspi-nolpae
@@ -0,0 +1,3 @@ 
+#
+# Config options for config.flavour.raspi-nolpae automatically generated by splitconfig.pl
+#
diff --git a/debian.raspi/control.d/vars.raspi-nolpae b/debian.raspi/control.d/vars.raspi-nolpae
new file mode 100644
index 000000000000..cd34306ee1e1
--- /dev/null
+++ b/debian.raspi/control.d/vars.raspi-nolpae
@@ -0,0 +1,6 @@ 
+arch="armhf"
+supported="Generic no-LPAE"
+target="Geared toward desktop and server systems."
+desc="=HUMAN= SMP"
+bootloader="grub-pc [amd64 x32] | grub-efi-amd64 [amd64 x32] | grub-efi-ia32 [amd64 x32] | grub [amd64 x32] | lilo (>= 19.1) [amd64 x32] | flash-kernel [armhf arm64] | grub-ieee1275 [ppc64el]"
+provides="kvm-api-4, redhat-cluster-modules, ivtv-modules"
diff --git a/debian.raspi/rules.d/armhf.mk b/debian.raspi/rules.d/armhf.mk
index 673c907d5616..66da74cd1f29 100644
--- a/debian.raspi/rules.d/armhf.mk
+++ b/debian.raspi/rules.d/armhf.mk
@@ -2,7 +2,7 @@  human_arch	= ARM (hard float)
 build_arch	= arm
 header_arch	= arm
 defconfig	= defconfig
-flavours	= raspi
+flavours	= raspi raspi-nolpae
 build_image	= zImage
 kernel_file	= arch/$(build_arch)/boot/zImage
 install_file	= vmlinuz