lkml.org 
[lkml]   [2014]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: suppress "Nothing to be done for ..." messages
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@jp.panasonic.com>
> ---
> 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@suse.cz> if you want.

Michal


\
 
 \ /
  Last update: 2014-04-09 17:01    [W:1.521 / U:1.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site