diff options
| -rwxr-xr-x | arch/arm64/Makefile | 5 | ||||
| -rw-r--r-- | arch/arm64/boot/Makefile | 12 |
2 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index d0c419f79..203793642 100755 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -64,7 +64,10 @@ dtbs: $(DRVGEN_FILE_LIST) boot := arch/arm64/boot -Image Image.gz: vmlinux +Image: vmlinux + $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ + +Image.%: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ zinstall install: diff --git a/arch/arm64/boot/Makefile b/arch/arm64/boot/Makefile index 489ae2062..51298cc66 100644 --- a/arch/arm64/boot/Makefile +++ b/arch/arm64/boot/Makefile @@ -29,12 +29,24 @@ DTB_OBJS := $(addprefix $(obj)/dts/,$(DTB_LIST)) $(obj)/Image: vmlinux FORCE $(call if_changed,objcopy) +$(obj)/Image.bz2: $(obj)/Image FORCE + $(call if_changed,bzip2) + $(obj)/Image.gz: $(obj)/Image FORCE $(call if_changed,gzip) $(obj)/Image.gz-dtb: $(obj)/Image.gz $(DTB_OBJS) FORCE $(call if_changed,cat) +$(obj)/Image.lz4: $(obj)/Image FORCE + $(call if_changed,lz4) + +$(obj)/Image.lzma: $(obj)/Image FORCE + $(call if_changed,lzma) + +$(obj)/Image.lzo: $(obj)/Image FORCE + $(call if_changed,lzo) + install: $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ $(obj)/Image System.map "$(INSTALL_PATH)" |
