12345678910111213141516171819202122232425262728293031323334353637383940 |
- targets := Image zImage uImage
- $(obj)/Image: vmlinux FORCE
- $(call if_changed,objcopy)
- @echo ' Kernel: $@ is ready'
- $(obj)/compressed/vmlinux: $(obj)/Image FORCE
- $(Q)$(MAKE) $(build)=$(obj)/compressed $@
- $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
- $(call if_changed,objcopy)
- @echo ' Kernel: $@ is ready'
- UIMAGE_ARCH = unicore
- UIMAGE_LOADADDR = 0x0
- $(obj)/uImage: $(obj)/zImage FORCE
- $(call if_changed,uimage)
- @echo ' Image $@ is ready'
- PHONY += initrd
- initrd:
- @test "$(INITRD)" != "" || \
- (echo You must specify INITRD; exit -1)
- subdir- := compressed
|