Linux-libre 5.3.12-gnu
[librecmc/linux-libre.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)"