lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 19 Apr 2016 09:20:15 +0900
From:	Masahiro Yamada <yamada.masahiro@...ionext.com>
To:	linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>
Cc:	Masahiro Yamada <yamada.masahiro@...ionext.com>,
	Russell King <linux@....linux.org.uk>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARM: suppress "include/generated/mach-types.h is up to date."

Looks like no objection to this patch,
so I will put it into Russell's patch tracker soon.



2016-04-01 3:25 GMT+09:00 Masahiro Yamada <yamada.masahiro@...ionext.com>:
> 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@...ionext.com>
> ---
>
>  arch/arm/tools/Makefile | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/tools/Makefile b/arch/arm/tools/Makefile
> index 32d05c8..6e4cd18 100644
> --- a/arch/arm/tools/Makefile
> +++ b/arch/arm/tools/Makefile
> @@ -4,7 +4,10 @@
>  # Copyright (C) 2001 Russell King
>  #
>
> -include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types
> -       @$(kecho) '  Generating $@'
> -       @mkdir -p $(dir $@)
> -       $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }
> +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)
> --
> 1.9.1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ