Makefile 766 B

123456789101112131415161718192021222324252627
  1. #
  2. # arch/blackfin/boot/Makefile
  3. #
  4. # This file is subject to the terms and conditions of the GNU General Public
  5. # License. See the file "COPYING" in the main directory of this archive
  6. # for more details.
  7. #
  8. MKIMAGE := $(srctree)/scripts/mkuboot.sh
  9. targets := vmImage
  10. extra-y += vmlinux.bin vmlinux.gz
  11. quiet_cmd_uimage = UIMAGE $@
  12. cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A $(ARCH) -O linux -T kernel \
  13. -C gzip -a $(CONFIG_BOOT_LOAD) -e $(CONFIG_BOOT_LOAD) -n 'Linux-$(KERNELRELEASE)' \
  14. -d $< $@
  15. $(obj)/vmlinux.bin: vmlinux FORCE
  16. $(call if_changed,objcopy)
  17. $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
  18. $(call if_changed,gzip)
  19. $(obj)/vmImage: $(obj)/vmlinux.gz
  20. $(call if_changed,uimage)
  21. @echo 'Kernel: $@ is ready'