blob: 61f44142cfe11fa9ff19eefcd33047733388b20d [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Helge Deller2f3c7b82017-08-20 10:52:22 +02002#
3# Makefile for the linux parisc-specific parts of the boot image creator.
4#
5
Helge Deller2f3c7b82017-08-20 10:52:22 +02006targets := image
7targets += bzImage
8subdir- := compressed
9
10$(obj)/image: vmlinux FORCE
11 $(call if_changed,objcopy)
12
13$(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
14 $(call if_changed,objcopy)
15
16$(obj)/compressed/vmlinux: FORCE
17 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
18
19install: $(CONFIGURE) $(obj)/bzImage
20 sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
21 System.map "$(INSTALL_PATH)"