mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 10:34:55 +08:00
be1fb0e8eb
Since commit 2aedcd098a
('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>
19 lines
443 B
Makefile
19 lines
443 B
Makefile
#
|
|
# create a compressed vmlinux image from the original vmlinux
|
|
#
|
|
|
|
targets := vmlinux head.o misc.o piggy.o vmlinux.lds
|
|
asflags-y :=
|
|
|
|
OBJECTS = $(obj)/head.o $(obj)/misc.o
|
|
|
|
LDFLAGS_vmlinux := -T
|
|
|
|
$(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS) $(obj)/piggy.o FORCE
|
|
$(call if_changed,ld)
|
|
|
|
LDFLAGS_piggy.o := -r --format binary --oformat elf32-littlenios2 -T
|
|
|
|
$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/../vmlinux.gz FORCE
|
|
$(call if_changed,ld)
|