[hppa] Switch to self-decompressing kernel

This commit is contained in:
Helge Deller 2018-04-18 08:34:17 +02:00
parent 2082e2d5af
commit f147fe68c4
4 changed files with 32 additions and 2 deletions

3
debian/changelog vendored
View File

@ -27,6 +27,9 @@ linux (4.16-1~exp2) UNRELEASED; urgency=medium
- Add package dependency of mtd-modules to jffs2-modules.
- Add package dependency of lzo-modules to squashfs-modules.
[ Helge Deller ]
* [hppa] Switch to self-decompressing kernel to save disk space in /boot
-- Ben Hutchings <ben@decadent.org.uk> Sun, 08 Apr 2018 19:03:49 +0100
linux (4.16-1~exp1) experimental; urgency=medium

View File

@ -3,11 +3,12 @@ flavours: parisc parisc-smp parisc64-smp
kernel-arch: parisc
[build]
image-file: vmlinux
image-file: arch/parisc/boot/bzImage
debug-info: true
[image]
suggests: palo
install-stem: vmlinux
install-stem: vmlinuz
[parisc_description]
hardware: 32-bit PA-RISC

View File

@ -0,0 +1,25 @@
Subject: parisc: Make bzImage default build target
From: Helge Deller <deller@gmx.de>
Date: Wed, 18 Apr 2018 07:49:19 +0200
Forwarded: https://patchwork.kernel.org/patch/10347405/
Debian uses "make all" to build the Linux kernel, thus to be able to use
the self-decompressing kernel as default debian kernel we need to make
bzImage the default build target.
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
index e2364ff59180..34ac503e28ad 100644
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
@@ -123,6 +123,9 @@ INSTALL_TARGETS = zinstall install
PHONY += bzImage $(BOOT_TARGETS) $(INSTALL_TARGETS)
+# Default kernel to build
+all: bzImage
+
zImage: vmlinuz
Image: vmlinux

View File

@ -12,6 +12,7 @@ debian/modpost-symbol-prefix.patch
debian/tools-perf-version.patch
debian/tools-perf-install.patch
debian/wireless-add-debian-wireless-regdb-certificates.patch
debian/parisc-fix-make-target.patch
# Fixes/improvements to firmware loading
features/all/drivers-media-dvb-usb-af9005-request_firmware.patch