mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 16:35:34 +07:00
6e8ac724bf
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>
14 lines
344 B
Makefile
14 lines
344 B
Makefile
#
|
|
# linux/arch/arm/tools/Makefile
|
|
#
|
|
# Copyright (C) 2001 Russell King
|
|
#
|
|
|
|
quiet_cmd_gen_mach = GEN $@
|
|
cmd_gen_mach = mkdir -p $(dir $@) && \
|
|
$(AWK) -f $(filter-out $(PHONY),$^) > $@ || \
|
|
{ rm -f $@; /bin/false; }
|
|
|
|
include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types FORCE
|
|
$(call if_changed,gen_mach)
|