[PATCH] parisc: Set correct KBUILD_IMAGE value for self-extracting kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Default KBUILD_IMAGE to $(boot)/bzImage if a self-extracting
(CONFIG_PARISC_SELF_EXTRACT=y) kernel will be built.
This fixes the bindeb-pkg make target.

Signed-off-by: Helge Deller <deller@xxxxxx>
---
 arch/parisc/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
index 8db4af4879d0..0b34f58d6fab 100644
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
@@ -15,7 +15,10 @@
 # Mike Shaver, Helge Deller and Martin K. Petersen
 #

-KBUILD_IMAGE := vmlinuz
+ifdef CONFIG_PARISC_SELF_EXTRACT
+boot := arch/parisc/boot
+KBUILD_IMAGE := $(boot)/bzImage
+endif

 NM		= sh $(srctree)/arch/parisc/nm
 CHECKFLAGS	+= -D__hppa__=1
--
2.31.1




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux