mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:38:03 +00:00
ebfc2fd887
Fix typos, most reported by "codespell arch/arc". Only touches comments, no code changes. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Vineet Gupta <vgupta@kernel.org>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# uImage build relies on mkimage being available on your host for ARC target
|
|
# You will need to build u-boot for ARC, rename mkimage to arc-elf32-mkimage
|
|
# and make sure it's reachable from your PATH
|
|
|
|
OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S
|
|
|
|
LINUX_START_TEXT = $$($(READELF) -h vmlinux | \
|
|
grep "Entry point address" | grep -o 0x.*)
|
|
|
|
UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE)
|
|
UIMAGE_ENTRYADDR = $(LINUX_START_TEXT)
|
|
|
|
targets += vmlinux.bin
|
|
targets += vmlinux.bin.gz
|
|
targets += vmlinux.bin.lzma
|
|
targets += uImage.bin
|
|
targets += uImage.gz
|
|
targets += uImage.lzma
|
|
|
|
$(obj)/vmlinux.bin: vmlinux FORCE
|
|
$(call if_changed,objcopy)
|
|
|
|
$(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
|
|
$(call if_changed,gzip)
|
|
|
|
$(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
|
|
$(call if_changed,lzma)
|
|
|
|
$(obj)/uImage.bin: $(obj)/vmlinux.bin FORCE
|
|
$(call if_changed,uimage,none)
|
|
|
|
$(obj)/uImage.gz: $(obj)/vmlinux.bin.gz FORCE
|
|
$(call if_changed,uimage,gzip)
|
|
|
|
$(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma FORCE
|
|
$(call if_changed,uimage,lzma)
|