Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 00/14] Add support for U-Boots Kbuild & Kconfig build system
Date: Mon, 5 Jan 2015 14:59:33 +0100	[thread overview]
Message-ID: <20150105145933.07f39dba@free-electrons.com> (raw)
In-Reply-To: <1420463640.2905.8.camel@posteo.de>

Dear J?rg Krause,

On Mon, 05 Jan 2015 14:14:00 +0100, J?rg Krause wrote:

> > > So we clearly need to continue to support older versions of U-Boot,
> > > that don't have the kconfig stuff. I just gave a try, and it seems like
> > > the old U-Boot way of configuring/building things apparently still
> > > works with U-Boot 2014.10. So your PATCH 01/14 is probably OK. However
> > > starting from 02/14, I believe you'll be breaking things for U-Boot
> > > versions older than 2014.10.
> 
> U-Boot 2014.10 still supports the old <board_name>_config build system.
> So it should be safe to update the version number only (in case the
> board is still supported).

Yes, that's why I've applied your patch bumping the version to 2014.10:
http://git.buildroot.net/buildroot/commit/boot?id=143119c0ef58b04bd7109bcb7b095ef98cc5311c.

> I can do this. Do you have any suggestion for providing backward
> compatibility? I have a config option for the U-Boot menu in mind, e.g.:
>             U-Boot Version (2014.10) --->
>         [ ] Use Kconfig build system (NEW)

Yes, at this point, I don't really see any other solution than having a
Config.in option: since we support fetching U-Boot from custom
location, only the user can tell if the U-Boot version uses the old
build system, or the new Kconfig/Kbuild based build system.

Of course, if 2014.10 is selected, you can automatically enable the
usage of the Kconfig build system, but for custom
versions/repositories, we have no other solution than having such a new
Config.in option.

Can you work on this idea?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2015-01-05 13:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12 23:15 [Buildroot] [PATCH 00/14] Add support for U-Boots Kbuild & Kconfig build system Jörg Krause
2014-12-12 23:15 ` [Buildroot] [PATCH 01/14] boot/uboot: bump to version 2014.10 Jörg Krause
2014-12-21 22:41   ` Thomas Petazzoni
2014-12-12 23:15 ` [Buildroot] [PATCH 02/14] boot/uboot: Add support for Kconfig build system Jörg Krause
2014-12-12 23:16 ` [Buildroot] [PATCH 03/14] boot/uboot.mk: Add uboot-menuconfig and friends Jörg Krause
2014-12-12 23:16 ` [Buildroot] [PATCH 04/14] boot/uboot.mk: Remove obsolete CONFIG_NOSOFTFLOAT flag Jörg Krause
2014-12-12 23:16 ` [Buildroot] [PATCH 05/14] boot/uboot.mk: Replace TARGET_CONFIGURE_OPTS with TARGET_MAKE_ENV Jörg Krause
2014-12-12 23:16 ` [Buildroot] [PATCH 06/14] boot/uboot.mk: Replace UBOOT_MAKE_OPTS with UBOOT_MAKE_FLAGS Jörg Krause
2014-12-12 23:16 ` [Buildroot] [PATCH 07/14] boot/uboot.mk: Make make action single-line Jörg Krause
2014-12-12 23:16 ` [Buildroot] [PATCH 08/14] boot/uboot/Config.in: Fix BR2_TARGET_UBOOT_SPL Jörg Krause
2014-12-21 22:23   ` Thomas Petazzoni
2014-12-12 23:16 ` [Buildroot] [PATCH 09/14] boot/uboot/Config.in: Fix BR2_TARGET_UBOOT_SPL_NAME Jörg Krause
2014-12-21 22:23   ` Thomas Petazzoni
2014-12-12 23:16 ` [Buildroot] [PATCH 10/14] boot/uboot/uboot.mk: Strip quotes from BR2_TARGET_UBOOT_SPL_NAME Jörg Krause
2014-12-21 22:23   ` Thomas Petazzoni
2014-12-12 23:16 ` [Buildroot] [PATCH 11/14] docs/manual/make-tips.mk: Add uboot documentation Jörg Krause
2014-12-12 23:16 ` [Buildroot] [PATCH 12/14] docs/manual/customize-configuration.txt: " Jörg Krause
2014-12-12 23:16 ` [Buildroot] [PATCH 13/14] docs/manual/customize-quick-guide.txt: " Jörg Krause
2014-12-12 23:16 ` [Buildroot] [PATCH 14/14] docs/manual/configure-other-components.txt: " Jörg Krause
2014-12-21 22:40 ` [Buildroot] [PATCH 00/14] Add support for U-Boots Kbuild & Kconfig build system Thomas Petazzoni
2015-01-02 16:22   ` Thomas Petazzoni
2015-01-05 13:14     ` Jörg Krause
2015-01-05 13:59       ` Thomas Petazzoni [this message]
2015-01-05 16:19         ` Jörg Krause
2015-01-05 16:38           ` Thomas Petazzoni

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=20150105145933.07f39dba@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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