[Buildroot] [PATCH v2 3/6] arch: allow GCC target options to be optionally overwritten

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Sep 23 20:33:28 UTC 2018


Hello,

On Wed, 12 Sep 2018 11:22:53 +0100, Mark Corbin wrote:

>  include system/system.mk
>  include package/Makefile.in
> -# arch/arch.mk.* must be after package/Makefile.in because it may need to
> +# arch/arch.mk must be after package/Makefile.in because it may need to
>  # complement variables defined therein, like BR_NO_CHECK_HASH_FOR.
> --include $(sort $(wildcard arch/arch.mk.*))
> +-include $(sort $(wildcard arch/arch.mk))

This sort + wildcard + conditional include was no longer needed, since
we include a single file, and we know this file exists, so I've
simplified this line to:

include arch/arch.mk

and then I've applied to master. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list