1*c32e64e8SGuo Rentargets := Image zImage uImage 2*c32e64e8SGuo Rentargets += $(dtb-y) 3*c32e64e8SGuo Ren 4*c32e64e8SGuo Ren$(obj)/Image: vmlinux FORCE 5*c32e64e8SGuo Ren $(call if_changed,objcopy) 6*c32e64e8SGuo Ren @echo ' Kernel: $@ is ready' 7*c32e64e8SGuo Ren 8*c32e64e8SGuo Rencompress-$(CONFIG_KERNEL_GZIP) = gzip 9*c32e64e8SGuo Rencompress-$(CONFIG_KERNEL_LZO) = lzo 10*c32e64e8SGuo Rencompress-$(CONFIG_KERNEL_LZMA) = lzma 11*c32e64e8SGuo Rencompress-$(CONFIG_KERNEL_XZ) = xzkern 12*c32e64e8SGuo Rencompress-$(CONFIG_KERNEL_LZ4) = lz4 13*c32e64e8SGuo Ren 14*c32e64e8SGuo Ren$(obj)/zImage: $(obj)/Image FORCE 15*c32e64e8SGuo Ren $(call if_changed,$(compress-y)) 16*c32e64e8SGuo Ren @echo ' Kernel: $@ is ready' 17*c32e64e8SGuo Ren 18*c32e64e8SGuo RenUIMAGE_ARCH = sandbox 19*c32e64e8SGuo RenUIMAGE_COMPRESSION = $(compress-y) 20*c32e64e8SGuo RenUIMAGE_LOADADDR = $(shell $(NM) vmlinux | awk '$$NF == "_start" {print $$1}') 21*c32e64e8SGuo Ren 22*c32e64e8SGuo Ren$(obj)/uImage: $(obj)/zImage 23*c32e64e8SGuo Ren $(call if_changed,uimage) 24*c32e64e8SGuo Ren @echo 'Image: $@ is ready' 25