From: Helge Deller Date: Fri, 26 Nov 2021 21:35:45 +0000 (+0100) Subject: parisc: Fix KBUILD_IMAGE for self-extracting kernel X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a32c07316f28712ab4caccaa91a82264ee553e4e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git parisc: Fix KBUILD_IMAGE for self-extracting kernel commit 1d7c29b77725d05faff6754d2f5e7c147aedcf93 upstream. Default KBUILD_IMAGE to $(boot)/bzImage if a self-extracting (CONFIG_PARISC_SELF_EXTRACT=y) kernel is to be built. This fixes the bindeb-pkg make target. Signed-off-by: Helge Deller Cc: # v4.14+ Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 01946ebaff72..154ea9a7b8c7 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -17,7 +17,12 @@ # 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 KBUILD_DEFCONFIG := default_defconfig