Skip to content

Commit e6bcd1a

Browse files
masahir0yIngo Molnar
authored andcommitted
x86/build: Supress "Nothing to be done for ..." messages
When we build an already built kernel again, arch/x86/syscalls/Makefile and arch/x86/tools/Makefile emits "Nothing to be done for ..." messages. Here is the command log: $ make defconfig [ snip ] $ make [ snip ] $ make make[1]: Nothing to be done for `all'. <----- make[1]: Nothing to be done for `relocs'. <----- CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h Besides not emitting those, "all" and "relocs" should be added to PHONY as well. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Peter Foley <[email protected]> Acked-by: Michal Marek <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 86e5876 commit e6bcd1a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arch/x86/syscalls/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,7 @@ syshdr-$(CONFIG_X86_64) += syscalls_64.h
5454

5555
targets += $(uapisyshdr-y) $(syshdr-y)
5656

57+
PHONY += all
5758
all: $(addprefix $(uapi)/,$(uapisyshdr-y))
5859
all: $(addprefix $(out)/,$(syshdr-y))
60+
@:

arch/x86/tools/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ $(obj)/insn_sanity.o: $(srctree)/arch/x86/lib/insn.c $(srctree)/arch/x86/lib/ina
4040
HOST_EXTRACFLAGS += -I$(srctree)/tools/include
4141
hostprogs-y += relocs
4242
relocs-objs := relocs_32.o relocs_64.o relocs_common.o
43+
PHONY += relocs
4344
relocs: $(obj)/relocs
45+
@:

0 commit comments

Comments
 (0)