public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] Build u-boot.imx by default when board uses it
Date: Fri, 11 Nov 2011 11:43:48 -0500	[thread overview]
Message-ID: <201111111143.49086.vapier@gentoo.org> (raw)
In-Reply-To: <20111111133514.GC2895@bee.dooz.org>

On Friday 11 November 2011 08:35:14 Lo?c Minier wrote:
> On Thu, Nov 10, 2011, Mike Frysinger wrote:
> > >  CONFIG_IMX_CONFIG is set in boards.cfg.
> > 
> > ugly undocumented CONFIG's are awesome
> > 
> > this really should be in a subdir rather than the top level.  we want
> > to keep arch/soc-specific cruft out of the top level Makefile if
> > possible.  isn't there a sub-config.mk somewhere you could add the
> > line unconditionally ?
> 
>  Can't see one, but Aneesh proposes the OMAP approach of
>  arch/arm/cpu/**/config.mk files.
> 
>  The CONFIG_IMX_CONFIG actually changes per-board, so the boards.cfg
>  approach to set it seems ok; however we could try defining the
>  u-boot.imx rule in a common i.MX makefile snippet somewhere.
> 
>  Perhaps arch/arm/cpu/armv7/config.mk or
>  arch/arm/cpu/armv7/mx5/Makefile, or a new file; I don't have a strong
>  opinion.

if there's a config option to key off of, and it affects multiple arm 
arches/socs, then arch/arm/config.mk would probably be the best place to add 
the lines.

maybe Albert has an opinion on the arch/arm/ layout.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111111/f78fdf28/attachment.pgp 

  reply	other threads:[~2011-11-11 16:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-10 13:49 [U-Boot] Improve default "make" targets (ALL-y) Loïc Minier
2011-11-10 13:49 ` [U-Boot] [PATCH 1/2] Build u-boot.imx by default when board uses it Loïc Minier
2011-11-10 15:35   ` Stefano Babic
2011-11-10 23:24   ` Mike Frysinger
2011-11-10 23:45     ` Loïc Minier
2011-11-11  1:51       ` Mike Frysinger
2011-11-11  3:39         ` Aneesh V
2011-11-11 13:31           ` Loïc Minier
2011-11-11 13:35         ` Loïc Minier
2011-11-11 16:43           ` Mike Frysinger [this message]
2011-11-17  7:07           ` Stefano Babic
2011-11-17  7:37           ` Wolfgang Denk
2011-11-11  2:29       ` Daniel Schwierzeck
2011-11-11 13:26         ` Loïc Minier
2012-04-02 17:03           ` Stefano Babic
2012-04-02 18:25             ` Mike Frysinger
2012-04-03 14:22               ` Stefano Babic
2011-11-10 13:49 ` [U-Boot] [PATCH 2/2] Build u-boot.kwb " Loïc Minier
2011-11-10 14:54 ` [U-Boot] Improve default "make" targets (ALL-y) Tom Rini
2011-11-11 13:41   ` Loïc Minier
2011-11-11 16:41     ` Mike Frysinger
2011-11-11 21:01       ` Loïc Minier
2011-11-11 22:50         ` 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=201111111143.49086.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox