Merge tag 'arc-5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
[linux-2.6-block.git] / arch / nds32 / boot / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 targets := 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
10 install: $(obj)/Image
11         $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
12         $(obj)/Image System.map "$(INSTALL_PATH)"
13
14 zinstall: $(obj)/Image.gz
15         $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
16         $(obj)/Image.gz System.map "$(INSTALL_PATH)"