Re: [PATCH] x86: suppress "Nothing to be done for ..." messages

From: Michal Marek
Date: Wed Apr 09 2014 - 10:15:19 EST


ccing x86 maintainers

On 2014-04-09 09:15, Masahiro Yamada wrote:
> When we compiled again, arch/x86/syscalls/Makefile and
> arch/x86/tools/Makefile emitted "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
>
> Signed-off-by: Masahiro Yamada <yamada.m@xxxxxxxxxxxxxxxx>
> ---
> arch/x86/syscalls/Makefile | 1 +
> arch/x86/tools/Makefile | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/arch/x86/syscalls/Makefile b/arch/x86/syscalls/Makefile
> index f325af2..b6c923a 100644
> --- a/arch/x86/syscalls/Makefile
> +++ b/arch/x86/syscalls/Makefile
> @@ -56,3 +56,4 @@ targets += $(uapisyshdr-y) $(syshdr-y)
>
> all: $(addprefix $(uapi)/,$(uapisyshdr-y))
> all: $(addprefix $(out)/,$(syshdr-y))
> + @:

The "all" target should also be added to the PHONY variable.


> diff --git a/arch/x86/tools/Makefile b/arch/x86/tools/Makefile
> index e812034..95e3ed7 100644
> --- a/arch/x86/tools/Makefile
> +++ b/arch/x86/tools/Makefile
> @@ -41,3 +41,4 @@ HOST_EXTRACFLAGS += -I$(srctree)/tools/include
> hostprogs-y += relocs
> relocs-objs := relocs_32.o relocs_64.o relocs_common.o
> relocs: $(obj)/relocs
> + @:
>

You can add Acked-by: Michal Marek <mmarek@xxxxxxx> if you want.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/