Commit 6e8ac724 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Russell King

ARM: 8562/1: suppress "include/generated/mach-types.h is up to date."

For incremental build, "include/generated/mach-types.h is up to date"
is every time displayed like follows:

$ make ARCH=arm
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h

This commit avoids such a clumsy log and introduces Kbuild standard
log style:

  GEN     include/generated/mach-types.h
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 2d958639
...@@ -4,7 +4,10 @@ ...@@ -4,7 +4,10 @@
# Copyright (C) 2001 Russell King # Copyright (C) 2001 Russell King
# #
include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types quiet_cmd_gen_mach = GEN $@
@$(kecho) ' Generating $@' cmd_gen_mach = mkdir -p $(dir $@) && \
@mkdir -p $(dir $@) $(AWK) -f $(filter-out $(PHONY),$^) > $@ || \
$(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; } { rm -f $@; /bin/false; }
include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types FORCE
$(call if_changed,gen_mach)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment