parisc: Allow building uncompressed Linux kernel
authorHelge Deller <deller@gmx.de>
Tue, 17 Oct 2023 19:00:11 +0000 (21:00 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 30 Oct 2023 13:54:40 +0000 (14:54 +0100)
Add HAVE_KERNEL_UNCOMPRESSED flag and fix build in boot
directory.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/Kconfig
arch/parisc/boot/Makefile

index a15ab14..9288c39 100644 (file)
@@ -25,6 +25,7 @@ config PARISC
        select INIT_ALL_POSSIBLE
        select BUG
        select BUILDTIME_TABLE_SORT
+       select HAVE_KERNEL_UNCOMPRESSED
        select HAVE_PCI
        select HAVE_PERF_EVENTS
        select HAVE_KERNEL_BZIP2
index b873ee4..657f967 100644 (file)
@@ -10,7 +10,7 @@ subdir- := compressed
 $(obj)/image: vmlinux FORCE
        $(call if_changed,objcopy)
 
-$(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
+$(obj)/bzImage: $(if $(CONFIG_KERNEL_UNCOMPRESSED),$(objtree)/vmlinux,$(obj)/compressed/vmlinux) FORCE
        $(call if_changed,objcopy)
 
 $(obj)/compressed/vmlinux: FORCE