Files
OrangePi_CM5/arch/h8300/boot/Makefile
T

22 lines
611 B
Makefile
Raw Normal View History

2005-04-16 15:20:36 -07:00
# arch/h8300/boot/Makefile
2007-05-06 14:50:36 -07:00
targets := vmlinux.srec vmlinux.bin zImage
subdir- := compressed
2005-04-16 15:20:36 -07:00
OBJCOPYFLAGS_vmlinux.srec := -Osrec
OBJCOPYFLAGS_vmlinux.bin := -Obinary
2007-05-06 14:50:36 -07:00
OBJCOPYFLAGS_zImage := -O binary -R .note -R .comment -R .stab -R .stabstr -S
2005-04-16 15:20:36 -07:00
$(obj)/vmlinux.srec $(obj)/vmlinux.bin: vmlinux FORCE
$(call if_changed,objcopy)
@echo ' Kernel: $@ is ready'
2007-05-06 14:50:36 -07:00
$(obj)/zImage: $(obj)/compressed/vmlinux FORCE
$(call if_changed,objcopy)
@echo 'Kernel: $@ is ready'
$(obj)/compressed/vmlinux: FORCE
$(Q)$(MAKE) $(build)=$(obj)/compressed $@
2005-04-16 15:20:36 -07:00
CLEAN_FILES += arch/$(ARCH)/vmlinux.bin arch/$(ARCH)/vmlinux.srec
2007-05-06 14:50:36 -07:00