mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: linux-kbuild@vger.kernel.org, David Howells <dhowells@redhat.com>,
	Michal Marek <mmarek@suse.com>,
	David Woodhouse <David.Woodhouse@intel.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kbuild: suppress annoying "... is up to date." message
Date: Fri, 4 Mar 2016 23:20:34 +0100	[thread overview]
Message-ID: <20160304222034.GA19855@pobox.suse.cz> (raw)
In-Reply-To: <1456994190-15582-1-git-send-email-yamada.masahiro@socionext.com>

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

      reply	other threads:[~2016-03-04 22:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-03  8:36 Masahiro Yamada
2016-03-04 22:20 ` Michal Marek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160304222034.GA19855@pobox.suse.cz \
    --to=mmarek@suse.cz \
    --cc=David.Woodhouse@intel.com \
    --cc=dhowells@redhat.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.com \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®