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

From: Peter Foley
Date: Wed Apr 09 2014 - 10:25:50 EST


On Wed, Apr 9, 2014 at 10:14 AM, Michal Marek <mmarek@xxxxxxx> 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@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.

relocs should be PHONY too.
--
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/