mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-27 13:43:53 +00:00
be1fb0e8eb
Since commit 2aedcd098a94 ('kbuild: suppress annoying "... is up to date." message'), $(call if_changed,...) is evaluated to "@:" when there is nothing to do. We no longer need to add "@:" after $(call if_changed,...) to suppress "... is up to date." message. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Michal Marek <mmarek@suse.com>
30 lines
867 B
Makefile
30 lines
867 B
Makefile
#
|
|
# linux/arch/sh/boot/romimage/Makefile
|
|
#
|
|
# create an romImage file suitable for burning to flash/mmc from zImage
|
|
#
|
|
|
|
targets := vmlinux head.o zeropage.bin piggy.o
|
|
load-y := 0
|
|
|
|
mmcif-load-$(CONFIG_CPU_SUBTYPE_SH7724) := 0xe5200000 # ILRAM
|
|
mmcif-obj-$(CONFIG_CPU_SUBTYPE_SH7724) := $(obj)/mmcif-sh7724.o
|
|
load-$(CONFIG_ROMIMAGE_MMCIF) := $(mmcif-load-y)
|
|
obj-$(CONFIG_ROMIMAGE_MMCIF) := $(mmcif-obj-y)
|
|
|
|
LDFLAGS_vmlinux := --oformat $(ld-bfd) -Ttext $(load-y) -e romstart \
|
|
-T $(obj)/../../kernel/vmlinux.lds
|
|
|
|
$(obj)/vmlinux: $(obj)/head.o $(obj-y) $(obj)/piggy.o FORCE
|
|
$(call if_changed,ld)
|
|
|
|
OBJCOPYFLAGS += -j .empty_zero_page
|
|
|
|
$(obj)/zeropage.bin: vmlinux FORCE
|
|
$(call if_changed,objcopy)
|
|
|
|
LDFLAGS_piggy.o := -r --format binary --oformat $(ld-bfd) -T
|
|
|
|
$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/zeropage.bin arch/sh/boot/zImage FORCE
|
|
$(call if_changed,ld)
|