Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1350645 > unrolled thread

Re: [PATCH] kbuild: suppress annoying "... is up to date." message

Started byMichal Marek <mmarek@suse.cz>
First post2016-03-04 23:30 +0100
Last post2016-03-04 23:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] kbuild: suppress annoying "... is up to date." message Michal Marek <mmarek@suse.cz> - 2016-03-04 23:30 +0100

#1350645 — Re: [PATCH] kbuild: suppress annoying "... is up to date." message

FromMichal Marek <mmarek@suse.cz>
Date2016-03-04 23:30 +0100
SubjectRe: [PATCH] kbuild: suppress annoying "... is up to date." message
Message-ID<r96op-5cc-9@gated-at.bofh.it>
On Thu, Mar 03, 2016 at 05:36:30PM +0900, Masahiro Yamada wrote:
> Under certain conditions, Kbuild shows "... is up to date" where
> if_changed or friends are used.
> 
> For example, the incremental build of ARM64 Linux shows this message
> when the kernel image has not been updated.
> 
>   $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
>     CHK     include/config/kernel.release
>     CHK     include/generated/uapi/linux/version.h
>     CHK     include/generated/utsrelease.h
>     CHK     include/generated/bounds.h
>     CHK     include/generated/timeconst.h
>     CHK     include/generated/asm-offsets.h
>     CALL    scripts/checksyscalls.sh
>     CHK     include/generated/compile.h
>     CHK     kernel/config_data.h
>   make[1]: `arch/arm64/boot/Image.gz' is up to date.
>     Building modules, stage 2.
>     MODPOST 0 modules
> 
> The following is the build rule in arch/arm64/boot/Makefile:
> 
>   $(obj)/Image.gz: $(obj)/Image FORCE
>           $(call if_changed,gzip)
> 
> If the Image.gz is newer than the Image and the command line has not
> changed (i.e., $(any-prereq) and $(arg-check) are both empty), the
> build rule $(call if_changed,gzip) is evaluated to be empty, then
> GNU Make reports the target is up to date.  In order to make GNU Make
> quiet, we need to give it something to do, for example, "@:".  This
> should be fixed in the Kbuild core part rather than in each Makefile.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Thanks, applied to kbuild.git#kbuild.

Michal

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web