diff mbox

x86: suppress "Nothing to be done for ..." messages

Message ID 1397027753-15444-1-git-send-email-yamada.m@jp.panasonic.com (mailing list archive)
State New, archived
Headers show

Commit Message

Masahiro Yamada April 9, 2014, 7:15 a.m. UTC
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(+)

Comments

Peter Foley April 9, 2014, 2:09 p.m. UTC | #1
On Wed, Apr 9, 2014 at 3:15 AM, Masahiro Yamada
<yamada.m@jp.panasonic.com> 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))
> +       @:
> 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
> +       @:
> --
> 1.8.3.2
>
> --

Acked-by: Peter Foley <pefoley2@pefoley.com>

I've an identical patch lying around that I haven't gotten around to
submitting yet.
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Michal Marek April 9, 2014, 2:14 p.m. UTC | #2
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Peter Foley April 9, 2014, 2:25 p.m. UTC | #3
On Wed, Apr 9, 2014 at 10:14 AM, Michal Marek <mmarek@suse.cz> wrote:
> 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.

relocs should be PHONY too.
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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))
+	@:
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
+	@: