Skip to content

Commit 01fef82

Browse files
committed
parisc: Allow building uncompressed Linux kernel
Add HAVE_KERNEL_UNCOMPRESSED flag and fix build in boot directory. Signed-off-by: Helge Deller <[email protected]>
1 parent b9c515f commit 01fef82

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

arch/parisc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ config PARISC
2525
select INIT_ALL_POSSIBLE
2626
select BUG
2727
select BUILDTIME_TABLE_SORT
28+
select HAVE_KERNEL_UNCOMPRESSED
2829
select HAVE_PCI
2930
select HAVE_PERF_EVENTS
3031
select HAVE_KERNEL_BZIP2

arch/parisc/boot/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ subdir- := compressed
1010
$(obj)/image: vmlinux FORCE
1111
$(call if_changed,objcopy)
1212

13-
$(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
13+
$(obj)/bzImage: $(if $(CONFIG_KERNEL_UNCOMPRESSED),$(objtree)/vmlinux,$(obj)/compressed/vmlinux) FORCE
1414
$(call if_changed,objcopy)
1515

1616
$(obj)/compressed/vmlinux: FORCE

0 commit comments

Comments
 (0)