All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 18/42] Blackfin: make sure autoconf.mk is generated early enough
Date: Tue, 10 Feb 2009 11:23:21 -0800	[thread overview]
Message-ID: <4991D429.7000908@gmail.com> (raw)
In-Reply-To: <200902101357.29507.vapier@gentoo.org>

Mike Frysinger wrote:
> On Tuesday 10 February 2009 12:54:31 Ben Warren wrote:
>   
>> 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@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?
>>     
>
> unfortunately, yes.  since some settings in the board config are turned into 
> compiler flags and those compiler flags can in turn affect the board config, 
> we need to do it twice.  first is to make sure the proper cpu flags are 
> propagated into the toplevel build env while the second is to make sure the 
> autoconf.mk fully reflects the board config.
>
> i guess i could add a one line comment above each one giving hints about why 
> each is needed ...
> -mike
>   
No problem.  Just a sanity check.  Turns out you're sane :)

regards,
Ben

  reply	other threads:[~2009-02-10 19:23 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-10  6:20 [U-Boot] [PATCH 00/42] Updates cookin for Blackfin for post 2009.03 Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 01/42] Blackfin: update lockbox api according to latest documentation Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 02/42] Blackfin: safely flush data caches when in writeback mode Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 03/42] Blackfin: add cache_dump commands Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 04/42] Blackfin: print out Flash: before checking it Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 05/42] Blackfin: drop now-unused CONFIG_SYS_BFIN_CMD_XXX Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 06/42] Blackfin: unify duplicate CPU port definitions Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 07/42] Blackfin: drop SPORT_TX read helper macros Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 08/42] Blackfin: fix SIC_RVECT definition: it is 16bits, not 32bits Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 09/42] Blackfin: simplify symbol_lookup() a bit Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 10/42] Blackfin: kill off LDR jump block Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 11/42] Blackfin: handle reboot anomaly 432 Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 12/42] Blackfin: setup a sane default EBIU_SDBCTL for SDRAM controllers Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 13/42] Blackfin: do not program voltage regulator on parts that do not have one Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 14/42] Blackfin: put memory into self-refresh before/after programming clocks Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 15/42] Blackfin: unify common ADI board settings Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 16/42] Blackfin: bf533-stamp: rewrite startup LED notifications Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 17/42] Blackfin: bf533-stamp: bump up default clocks Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 18/42] Blackfin: make sure autoconf.mk is generated early enough Mike Frysinger
2009-02-10 17:54   ` Ben Warren
2009-02-10 18:57     ` Mike Frysinger
2009-02-10 19:23       ` Ben Warren [this message]
2009-02-10 19:42       ` Wolfgang Denk
2009-02-10 19:49         ` Mike Frysinger
2009-02-11 21:36           ` Wolfgang Denk
2009-02-11 21:54             ` Mike Frysinger
2009-02-11 22:16               ` Wolfgang Denk
2009-02-11 22:57                 ` Mike Frysinger
2009-02-12  0:16                   ` Wolfgang Denk
2009-02-10  6:20 ` [U-Boot] [PATCH 19/42] Blackfin: new spibootldr command Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 20/42] Blackfin: add clkin_hz= to default kernel command line for ADI boards Mike Frysinger
2009-02-10  6:20 ` [U-Boot] [PATCH 21/42] Blackfin: bf537-stamp: bump default SCLK up to 125MHz Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 22/42] Blackfin: bf537-stamp: increase monitor size Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 23/42] Blackfin: add hack for crappy m25p80 Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 24/42] Blackfin: add support for SST SPI flashes Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 25/42] Blackfin: overhaul SPI flash handling to speed things up Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 26/42] Blackfin: add support for S25FL128 parts Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 27/42] Blackfin: bf548-ezkit: new board port Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 28/42] Blackfin: bf527-ezkit: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 29/42] Blackfin: bf538f-ezkit: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 30/42] Blackfin: bf526-ezbrd: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 31/42] Blackfin: bf518f-ezbrd: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 32/42] Blackfin: cm-bf533: " Mike Frysinger
2009-02-11 21:39   ` Wolfgang Denk
2009-02-10  6:21 ` [U-Boot] [PATCH 33/42] Blackfin: cm-bf537e: " Mike Frysinger
2009-02-11 21:43   ` Wolfgang Denk
2009-02-11 21:48     ` Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 34/42] Blackfin: cm-bf561: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 35/42] Blackfin: tcm-bf537: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 36/42] Blackfin: cm-bf548: " Mike Frysinger
2009-02-10 17:34   ` Scott Wood
2009-02-10 17:51     ` Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 37/42] Blackfin: cm-bf527: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 38/42] Blackfin: bf537-pnav: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 39/42] Blackfin: bf537-minotaur: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 40/42] Blackfin: bf537-srv1: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 41/42] Blackfin: blackstamp: " Mike Frysinger
2009-02-10  6:21 ` [U-Boot] [PATCH 42/42] Blackfin: ibf-dsp561: " Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4991D429.7000908@gmail.com \
    --to=biggerbadderben@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.