Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn J. Goff <shawn.goff@accelecon.com>
To: buildroot@busybox.net
Subject: [Buildroot] Linux and busybox-configfiles
Date: Tue, 29 Jan 2013 08:45:20 -0500	[thread overview]
Message-ID: <ke8jpd$d31$1@ger.gmane.org> (raw)
In-Reply-To: <510780F9.9050207@relinux.de>



On 01/29/2013 02:57 AM, Stephan Hoffmann wrote:
> Am 29.01.2013 01:16, schrieb Shawn J. Goff:
>>
>>
>> On 01/27/2013 05:36 PM, Arnout Vandecappelle wrote:
>>> On 27/01/13 17:08, Stephan Hoffmann wrote:
>>>> Hello all,
>>>>
>>>> buildroot provides direct calls to the configuration menus for busybox
>>>> and linux:
>>>>
>>>> make linux-menuconfig
>>>> make busybox-menuconfig
>>>>
>>>> Additionally, there is a linux-savedefconfig make target.
>>>>
>>>> All these save their output in the build directory, so that all changes
>>>> get lost when "make clean" is called. Thus I don't think that I am the
>>>> only one who has been surprised to notice that "make busybox-menuconfig
>>>> && make clean && make" does not have any effect on busybox's
>>>> configuration.
>>>
>>>    This is a bit a philosophical discussion: should the configuration
>>> files of linux, busybox, etc. be considered part of the buildroot
>>> configuration or not? In the former case, they should survive a 'make
>>> clean', in the latter case they should be removed by 'make clean'.
>>>
>>>    I tend to agree that the package configs should be considered part of
>>> the buildroot config. However, if your buildroot config specifies some
>>> BR2_PACKAGE_BUSYBOX_CONFIG, then I would expect that after 'make clean',
>>> that is the config that will be used. More generically, I expect I
>>> can do:
>>>
>>>    make foo_defconfig
>>>    Do all kinds of weird stuff that completely messes things up
>>>    make clean
>>>    make
>>>
>>> and to be back in the same state as 'make foo_defconfig; make'.
>>>
>>>
>>
>> I'd like the busybox-*config and linux-*config targets should save the
>> resulting config in BR2_PACKAGE_BUSYBOX_CONFIG and
>> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. I keep these two locations under
>> source control in board/my_company/board_name/, so when I completely
>> mess up the config, it's just a git checkout path/to/config, and if I
>> want to keep the changes, I just add and commit the file. It also lets
>> me clearly see something has changed when I run git status.
> Do you know about busybox-update-config and linux-update-config?

I did not. I also see a barebox-update-config and a 
uClibc-update-config. Why should those not get called by the make 
*-config targets? One of the goals of Buildroot is to ensure consistent, 
repeatable builds. If it's easy for me to do a make linux-menuconfig and 
go on working without it reminding me that I've changed something and 
it's not committed yet, I think that's a bug.

  reply	other threads:[~2013-01-29 13:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 16:08 [Buildroot] Linux and busybox-configfiles Stephan Hoffmann
2013-01-27 16:11 ` [Buildroot] [PATCH 1/2] Busybox: save a copy of the config file Stephan Hoffmann
2013-02-14 17:53   ` Stephan Hoffmann
2013-01-27 16:11 ` [Buildroot] [PATCH 2/2] Linux: " Stephan Hoffmann
2013-02-14 17:51   ` Stephan Hoffmann
2013-01-27 22:36 ` [Buildroot] Linux and busybox-configfiles Arnout Vandecappelle
2013-01-28  7:59   ` Jeremy Rosen
2013-01-28  8:47   ` Stephan Hoffmann
2013-01-29  0:16   ` Shawn J. Goff
2013-01-29  7:57     ` Stephan Hoffmann
2013-01-29 13:45       ` Shawn J. Goff [this message]
2013-01-29 17:33   ` Arnout Vandecappelle
2013-01-30  7:50     ` Jeremy Rosen
2013-01-30  9:54       ` Arnout Vandecappelle
2013-01-30 10:01         ` Jeremy Rosen
2013-01-30 10:41           ` Stephan Hoffmann
2013-01-28  9:16 ` Willy Lambert

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='ke8jpd$d31$1@ger.gmane.org' \
    --to=shawn.goff@accelecon.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