Linux Audio

Check our new training course

Loading...
v5.14.15
 1# SPDX-License-Identifier: GPL-2.0
 2# arch/h8300/boot/Makefile
 3
 4targets := vmlinux.srec vmlinux.bin zImage
 5subdir- := compressed
 6
 7OBJCOPYFLAGS_vmlinux.srec := -Osrec
 8OBJCOPYFLAGS_vmlinux.bin  := -Obinary
 9OBJCOPYFLAGS_zImage := -O binary -R .note -R .comment -R .stab -R .stabstr -S
10
11UIMAGE_LOADADDR = $(CONFIG_RAMBASE)
12UIMAGE_ENTRYADDR = $(shell /bin/bash -c 'printf "0x%08x" \
13	$$[$(CONFIG_RAMBASE) + $(CONFIG_OFFSET)]')
14
15$(obj)/vmlinux.srec $(obj)/vmlinux.bin:  vmlinux FORCE
16	$(call if_changed,objcopy)
17
18$(obj)/zImage: $(obj)/compressed/vmlinux FORCE
19	$(call if_changed,objcopy)
20
21$(obj)/compressed/vmlinux: FORCE
22	$(Q)$(MAKE) $(build)=$(obj)/compressed $@
23
24$(obj)/uImage.bin: $(obj)/vmlinux.bin
25	$(call if_changed,uimage,none)
26
27CLEAN_FILES += arch/$(ARCH)/vmlinux.bin arch/$(ARCH)/vmlinux.srec arch/$(ARCH)/uImage.bin
v4.17
 1# SPDX-License-Identifier: GPL-2.0
 2# arch/h8300/boot/Makefile
 3
 4targets := vmlinux.srec vmlinux.bin zImage
 5subdir- := compressed
 6
 7OBJCOPYFLAGS_vmlinux.srec := -Osrec
 8OBJCOPYFLAGS_vmlinux.bin  := -Obinary
 9OBJCOPYFLAGS_zImage := -O binary -R .note -R .comment -R .stab -R .stabstr -S
10
11UIMAGE_LOADADDR = $(CONFIG_RAMBASE)
12UIMAGE_ENTRYADDR = $(shell /bin/bash -c 'printf "0x%08x" \
13	$$[$(CONFIG_RAMBASE) + $(CONFIG_OFFSET)]')
14
15$(obj)/vmlinux.srec $(obj)/vmlinux.bin:  vmlinux FORCE
16	$(call if_changed,objcopy)
17
18$(obj)/zImage: $(obj)/compressed/vmlinux FORCE
19	$(call if_changed,objcopy)
20
21$(obj)/compressed/vmlinux: FORCE
22	$(Q)$(MAKE) $(build)=$(obj)/compressed $@
23
24$(obj)/uImage.bin: $(obj)/vmlinux.bin
25	$(call if_changed,uimage,none)
26
27CLEAN_FILES += arch/$(ARCH)/vmlinux.bin arch/$(ARCH)/vmlinux.srec arch/$(ARCH)/uImage.bin