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: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Masahiro Yamada 2016-04-19 06:05:09 +01:00 коммит произвёл Russell King
Родитель 2d95863999
Коммит 6e8ac724bf
1 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -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)