public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v8 07/13] tools: add genboardscfg.py
Date: Thu, 31 Jul 2014 08:17:19 -0400	[thread overview]
Message-ID: <20140731121719.GS19374@bill-the-cat> (raw)
In-Reply-To: <20140731112205.5D20.AA925319@jp.panasonic.com>

On Thu, Jul 31, 2014 at 11:22:05AM +0900, Masahiro Yamada wrote:
> Hi Tom,
> 
> 
> On Wed, 30 Jul 2014 10:07:19 -0400
> Tom Rini <trini@ti.com> wrote:
> 
> > On Wed, Jul 30, 2014 at 02:08:19PM +0900, Masahiro Yamada wrote:
> > 
> > > Now the primary data for each board is in Kconfig, defconfig and
> > > MAINTAINERS.
> > > 
> > > It is true boards.cfg is needed for MAKEALL and buildman and might be
> > > useful to brouse all the supported boards in a single database.
> > > But it would be painful to maintain the boards.cfg in sync.
> > > 
> > > So, this is the solution.
> > > Add a tool to generate the equivalent boards.cfg file based on
> > > the latest Kconfig, defconfig and MAINTAINERS.
> > > 
> > > We can keep all the functions of MAKEALL and buildman with it.
> > > 
> > > The best thing would be to change MAKEALL and buildman for not
> > > depending on boards.cfg in the future, but it would take some time.
> > [snip]
> > > +def get_make_cmd():
> > > +    """Get the command name of GNU Make."""
> > > +    try:
> > > +        make_cmd = subprocess.check_output([SHOW_GNU_MAKE])
> > > +    except subprocess.CalledProcessError:
> > > +        print >> sys.stderr, 'GNU Make not found'
> > > +        sys.exit(1)
> > > +    return make_cmd.rstrip()
> > 
> > So subprocess.check_output comes from Python 2.7 and Ubuntu 10.04 ships
> > with 2.6.  This isn't a deal-breaker as I'm working on updating the two
> > calls here now (and we'll set aside mailmapper, that's not going to be
> > commonly used I think).
> 
> 
> 
> BTW, Ubuntu 10.04 is now being supported only for Server.

Yeah.  IT counts build servers as Server not Desktop so I've got access
to some beefy build resources that're on that (and staying there for
some time to come). :)

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140731/265b2874/attachment.pgp>

  reply	other threads:[~2014-07-31 12:17 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30  5:08 [U-Boot] [PATCH v8 0/13] Kconfig for U-Boot Masahiro Yamada
2014-07-30  5:08 ` [U-Boot] [PATCH v8 01/13] kconfig: import Kconfig files from Linux 3.16-rc7 Masahiro Yamada
2014-07-30 19:14   ` Tom Rini
2014-07-30  5:08 ` [U-Boot] [PATCH v8 02/13] kconfig: add board Kconfig and defconfig files Masahiro Yamada
2014-07-30 19:14   ` Tom Rini
2014-08-06 18:24   ` York Sun
2014-08-07  6:59     ` Masahiro Yamada
2014-08-07 16:49       ` York Sun
2014-07-30  5:08 ` [U-Boot] [PATCH v8 03/13] kconfig: add basic Kconfig files Masahiro Yamada
2014-07-30 19:14   ` Tom Rini
2014-07-30  5:08 ` [U-Boot] [PATCH v8 04/13] include: define CONFIG_SPL and CONFIG_TPL as 1 Masahiro Yamada
2014-07-30 19:14   ` Tom Rini
2014-07-30  5:08 ` [U-Boot] [PATCH v8 05/13] kconfig: switch to Kconfig Masahiro Yamada
2014-07-30 19:14   ` Tom Rini
2014-07-30 23:05   ` Stephen Warren
2014-07-31  1:56     ` Masahiro Yamada
2014-07-31  2:08       ` Stephen Warren
2014-07-31 20:34         ` Tom Rini
2014-07-31 20:55           ` Stephen Warren
2014-07-31 21:06             ` Jeroen Hofstee
2014-07-30  5:08 ` [U-Boot] [PATCH v8 06/13] Add board MAINTAINERS files Masahiro Yamada
2014-07-30 19:15   ` Tom Rini
2014-07-30  5:08 ` [U-Boot] [PATCH v8 07/13] tools: add genboardscfg.py Masahiro Yamada
2014-07-30 14:07   ` Tom Rini
2014-07-30 15:12     ` Simon Glass
2014-07-30 15:22       ` Tom Rini
2014-07-30 15:38         ` Simon Glass
2014-07-31  2:22     ` Masahiro Yamada
2014-07-31 12:17       ` Tom Rini [this message]
2014-07-30 19:15   ` Tom Rini
2014-07-30  5:08 ` [U-Boot] [PATCH v8 08/13] kconfig: remove mkconfig and boards.cfg Masahiro Yamada
2014-07-30 19:15   ` Tom Rini
2014-07-30  5:08 ` [U-Boot] [PATCH v8 09/13] MAKEALL: adjust for Kconfig Masahiro Yamada
2014-07-30 19:15   ` Tom Rini
2014-07-30  5:08 ` [U-Boot] [PATCH v8 10/13] buildman: " Masahiro Yamada
2014-07-30 19:15   ` Tom Rini
2014-07-30  5:08 ` [U-Boot] [PATCH v8 11/13] kconfig: delete redundant CONFIG_${ARCH} definition Masahiro Yamada
2014-07-30 19:15   ` Tom Rini
2014-07-30  5:08 ` [U-Boot] [PATCH v8 12/13] powerpc: remove redundant CPU definition Masahiro Yamada
2014-07-30  5:34   ` Stefan Roese
2014-07-30 19:15   ` Tom Rini
2014-07-30  5:08 ` [U-Boot] [PATCH v8 13/13] include: remove CONFIG_SPL/CONFIG_TPL definition in config headers Masahiro Yamada
2014-07-30 19:15   ` Tom Rini
2014-07-30 19:16 ` [U-Boot] [PATCH v8 0/13] Kconfig for U-Boot Tom Rini
2014-07-31 22:19   ` Simon Glass

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=20140731121719.GS19374@bill-the-cat \
    --to=trini@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox