1 # 2 # arch/nios2/boot/Makefile 3 # 4 # This file is subject to the terms and condit 5 # License. See the file "COPYING" in the main 6 # for more details. 7 # 8 9 UIMAGE_LOADADDR = $(shell $(NM) vmlinux | awk 10 UIMAGE_ENTRYADDR = $(shell $(NM) vmlinux | awk 11 UIMAGE_COMPRESSION = gzip 12 13 OBJCOPYFLAGS_vmlinux.bin := -O binary 14 15 targets += vmlinux.bin vmlinux.gz vmImage 16 17 $(obj)/vmlinux.bin: vmlinux FORCE 18 $(call if_changed,objcopy) 19 20 $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE 21 $(call if_changed,gzip) 22 23 $(obj)/vmImage: $(obj)/vmlinux.gz FORCE 24 $(call if_changed,uimage) 25 @$(kecho) 'Kernel: $@ is ready' 26 27 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE 28 $(call if_changed,objcopy) 29 @$(kecho) 'Kernel: $@ is ready' 30 31 $(obj)/compressed/vmlinux: $(obj)/vmlinux.gz F 32 $(Q)$(MAKE) $(build)=$(obj)/compressed
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.