forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
454 B
17 lines
454 B
3 years ago
|
# SPDX-License-Identifier: GPL-2.0-only
|
||
|
targets := Image Image.gz
|
||
|
|
||
|
$(obj)/Image: vmlinux FORCE
|
||
|
$(call if_changed,objcopy)
|
||
|
|
||
|
$(obj)/Image.gz: $(obj)/Image FORCE
|
||
|
$(call if_changed,gzip)
|
||
|
|
||
|
install: $(obj)/Image
|
||
|
$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
|
||
|
$(obj)/Image System.map "$(INSTALL_PATH)"
|
||
|
|
||
|
zinstall: $(obj)/Image.gz
|
||
|
$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
|
||
|
$(obj)/Image.gz System.map "$(INSTALL_PATH)"
|