Skip to content

Commit b9f50ee

Browse files
committed
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>
1 parent 9c379c6 commit b9f50ee

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

arch/parisc/Kconfig

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -260,18 +260,6 @@ config PARISC_PAGE_SIZE_64KB
260260

261261
endchoice
262262

263-
config PARISC_SELF_EXTRACT
264-
bool "Build kernel as self-extracting executable"
265-
default y
266-
help
267-
Say Y if you want to build the parisc kernel as a kind of
268-
self-extracting executable.
269-
270-
If you say N here, the kernel will be compressed with gzip
271-
which can be loaded by the palo bootloader directly too.
272-
273-
If you don't know what to do here, say Y.
274-
275263
config SMP
276264
bool "Symmetric multi-processing support"
277265
help

arch/parisc/Makefile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@
1515
# Mike Shaver, Helge Deller and Martin K. Petersen
1616
#
1717

18-
ifdef CONFIG_PARISC_SELF_EXTRACT
1918
boot := arch/parisc/boot
2019
KBUILD_IMAGE := $(boot)/bzImage
21-
else
22-
KBUILD_IMAGE := vmlinuz
23-
endif
2420

2521
NM = sh $(srctree)/arch/parisc/nm
2622
CHECKFLAGS += -D__hppa__=1
@@ -165,13 +161,8 @@ Image: vmlinux
165161
bzImage: vmlinux
166162
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
167163

168-
ifdef CONFIG_PARISC_SELF_EXTRACT
169164
vmlinuz: bzImage
170165
$(OBJCOPY) $(boot)/bzImage $@
171-
else
172-
vmlinuz: vmlinux
173-
@$(KGZIP) -cf -9 $< > $@
174-
endif
175166

176167
ifeq ($(KBUILD_EXTMOD),)
177168
# We need to generate vdso-offsets.h before compiling certain files in kernel/.

0 commit comments

Comments
 (0)