[U-Boot] [PATCH 18/42] Blackfin: make sure autoconf.mk is generated early enough

Ben Warren biggerbadderben at gmail.com
Tue Feb 10 18:54:31 CET 2009


Hi Mike,

Mike Frysinger wrote:
> We use things from autoconf.mk in the top level Makefile, so it needs to
> exist before doing a top level make.  Otherwise, the top level make env
> does not get the values in the autoconf.mk.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  Makefile |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 787c5f2..db77d3b 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -3293,6 +3293,8 @@ BFIN_BOARDS = bf533-ezkit bf533-stamp bf537-stamp bf561-ezkit
>  
>  $(BFIN_BOARDS:%=%_config)	: unconfig
>  	@$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
> +	@$(MAKE) -s -B $(obj)include/autoconf.mk
> +	@$(MAKE) -s -B $(obj)include/autoconf.mk
>  
>   
Do you really mean to do this twice?
>  $(BFIN_BOARDS):
>  	$(MAKE) $@_config
>   
regards,
Ben


More information about the U-Boot mailing list