diff options
author | Helge Deller <deller@gmx.de> | 2022-02-15 22:56:27 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-03-11 21:49:30 +0300 |
commit | b9f50eea4f277943842e82bc4d73f912a2f165c6 (patch) | |
tree | a057960a2a4fae5477260c08eca10f67fe6d947b | |
parent | 9c379c65241707e44072139d782bc2dfec9b4ab3 (diff) | |
download | linux-b9f50eea4f277943842e82bc4d73f912a2f165c6.tar.xz |
parisc: Always use the self-extracting kernel feature
This patch drops the CONFIG_PARISC_SELF_EXTRACT option.
The palo boot loader is able to decompress a kernel which was compressed
with gzip. That possibility was useful when the Linux kernel
self-extracting feature wasn't implemented yet.
Beside the fact that the self-extracting feature offers much better
compression rates, we do support self-extracting kernels already since
kernel v4.14, so now it's really time to get rid of that old option and
always use the self-extractor.
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | arch/parisc/Kconfig | 12 | ||||
-rw-r--r-- | arch/parisc/Makefile | 9 |
2 files changed, 0 insertions, 21 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index f65268fd28ca..fbb114049a6b 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -260,18 +260,6 @@ config PARISC_PAGE_SIZE_64KB endchoice -config PARISC_SELF_EXTRACT - bool "Build kernel as self-extracting executable" - default y - help - Say Y if you want to build the parisc kernel as a kind of - self-extracting executable. - - If you say N here, the kernel will be compressed with gzip - which can be loaded by the palo bootloader directly too. - - If you don't know what to do here, say Y. - config SMP bool "Symmetric multi-processing support" help diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 6d7361364dad..2a9387a93592 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -15,12 +15,8 @@ # Mike Shaver, Helge Deller and Martin K. Petersen # -ifdef CONFIG_PARISC_SELF_EXTRACT boot := arch/parisc/boot KBUILD_IMAGE := $(boot)/bzImage -else -KBUILD_IMAGE := vmlinuz -endif NM = sh $(srctree)/arch/parisc/nm CHECKFLAGS += -D__hppa__=1 @@ -165,13 +161,8 @@ Image: vmlinux bzImage: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ -ifdef CONFIG_PARISC_SELF_EXTRACT vmlinuz: bzImage $(OBJCOPY) $(boot)/bzImage $@ -else -vmlinuz: vmlinux - @$(KGZIP) -cf -9 $< > $@ -endif ifeq ($(KBUILD_EXTMOD),) # We need to generate vdso-offsets.h before compiling certain files in kernel/. |