]> git.baikalelectronics.ru Git - kernel.git/commit
KBuild: silence "'scripts/unifdef' is up to date."
authorMike Waychison <mikew@google.com>
Tue, 15 Mar 2011 06:34:25 +0000 (23:34 -0700)
committerMichal Marek <mmarek@suse.cz>
Thu, 17 Mar 2011 11:29:20 +0000 (12:29 +0100)
commitca3ef864611c949ba45b74cd8be2695faa05deff
treedd64df66e3231a903adb0e536448b0b0b4998a59
parentd6f1669a9b000a2b23bfd19a4f65885490c86b57
KBuild: silence "'scripts/unifdef' is up to date."

While changing our build system over to use the headers_install target
as part of our klibc build, the following message started showing up in
our logs:

make[2]: `scripts/unifdef' is up to date.

It turns out that the build blindly invokes a recursive make on this
target, which causes make to emit this message when the target is
already up to date.  This isn't seen for most targets as the rest of the
build relies primarily on the default target and on PHONY targets when
invoking make recursively.

Silence the above message when building unifdef as part of
headers_install by hiding it behind a new PHONY target called
"build_unifdef" that has an empty recipe.

Signed-off-by: Mike Waychison <mikew@google.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
scripts/Makefile