diff options
author | Helge Deller <deller@gmx.de> | 2021-11-26 22:35:45 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-11-30 21:49:32 +0100 |
commit | 1d7c29b77725d05faff6754d2f5e7c147aedcf93 (patch) | |
tree | 6810b41bb1c3528b5deaa032a490ef7295accc4f /arch/parisc/Makefile | |
parent | Linux 5.16-rc3 (diff) | |
download | linux-1d7c29b77725d05faff6754d2f5e7c147aedcf93.tar.xz linux-1d7c29b77725d05faff6754d2f5e7c147aedcf93.zip |
parisc: Fix KBUILD_IMAGE for self-extracting kernel
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 <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v4.14+
Diffstat (limited to 'arch/parisc/Makefile')
-rw-r--r-- | arch/parisc/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 8db4af4879d0..82d77f4b0d08 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -15,7 +15,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 NM = sh $(srctree)/arch/parisc/nm CHECKFLAGS += -D__hppa__=1 |