1# SPDX-License-Identifier: GPL-2.0-only
2targets := Image Image.gz
3
4$(obj)/Image: vmlinux FORCE
5	$(call if_changed,objcopy)
6
7$(obj)/Image.gz: $(obj)/Image FORCE
8	$(call if_changed,gzip)
9
10install: $(obj)/Image
11	$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
12	$(obj)/Image System.map "$(INSTALL_PATH)"
13
14zinstall: $(obj)/Image.gz
15	$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
16	$(obj)/Image.gz System.map "$(INSTALL_PATH)"
17