Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [buildroot 0001568]: "make BOARD=xyz menuconfig" / oldconfig etc does not work
@ 2007-11-01  5:52 bugs at busybox.net
  0 siblings, 0 replies; 5+ messages in thread
From: bugs at busybox.net @ 2007-11-01  5:52 UTC (permalink / raw)
  To: buildroot


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1568 
====================================================================== 
Reported By:                hmoffatt
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1568
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-31-2007 22:52 PDT
Last Modified:              10-31-2007 22:52 PDT
====================================================================== 
Summary:                    "make BOARD=xyz menuconfig" / oldconfig etc does not
work
Description: 
buildroot allows you to do "make BOARD=xyz world" to compile using the
configuration file in local/xyz/xyz.config, but you can't call menuconfig,
oldconfig etc in this way.

The problem is that the name of the configuration file isn't being passed
to the kconfig tool (package/config/conf). kconfig uses $BUILDROOT_CONFIG,
so all that is needed is to set that environment variable.

Patch attached fixes this so that "make BOARD=xyz oldconfig" works.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-31-07 22:52  hmoffatt       New Issue                                    
10-31-07 22:52  hmoffatt       Status                   new => assigned     
10-31-07 22:52  hmoffatt       Assigned To               => buildroot       
10-31-07 22:52  hmoffatt       File Added: br-board-config.diff                 
  
======================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [buildroot 0001568]: "make BOARD=xyz menuconfig" / oldconfig etc does not work
@ 2007-11-02  1:02 bugs at busybox.net
  0 siblings, 0 replies; 5+ messages in thread
From: bugs at busybox.net @ 2007-11-02  1:02 UTC (permalink / raw)
  To: buildroot


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1568 
====================================================================== 
Reported By:                hmoffatt
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1568
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-31-2007 22:52 PDT
Last Modified:              11-01-2007 18:02 PDT
====================================================================== 
Summary:                    "make BOARD=xyz menuconfig" / oldconfig etc does not
work
Description: 
buildroot allows you to do "make BOARD=xyz world" to compile using the
configuration file in local/xyz/xyz.config, but you can't call menuconfig,
oldconfig etc in this way.

The problem is that the name of the configuration file isn't being passed
to the kconfig tool (package/config/conf). kconfig uses $BUILDROOT_CONFIG,
so all that is needed is to set that environment variable.

Patch attached fixes this so that "make BOARD=xyz oldconfig" works.
====================================================================== 

---------------------------------------------------------------------- 
 hmoffatt - 11-01-07 18:02  
---------------------------------------------------------------------- 
"make BOARD=xyz world" also fails due to a few more hard-coded references
to .config. br2-board-config2.diff fixes those. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-31-07 22:52  hmoffatt       New Issue                                    
10-31-07 22:52  hmoffatt       Status                   new => assigned     
10-31-07 22:52  hmoffatt       Assigned To               => buildroot       
10-31-07 22:52  hmoffatt       File Added: br-board-config.diff                 
  
11-01-07 18:01  hmoffatt       File Added: br-board-config2.diff                
   
11-01-07 18:02  hmoffatt       Note Added: 0002885                          
======================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [buildroot 0001568]: "make BOARD=xyz menuconfig" / oldconfig etc does not work
@ 2007-11-27 21:28 bugs at busybox.net
  2007-12-11  6:28 ` Hamish Moffatt
  0 siblings, 1 reply; 5+ messages in thread
From: bugs at busybox.net @ 2007-11-27 21:28 UTC (permalink / raw)
  To: buildroot


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1568 
====================================================================== 
Reported By:                hmoffatt
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1568
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-31-2007 22:52 PDT
Last Modified:              11-27-2007 13:28 PST
====================================================================== 
Summary:                    "make BOARD=xyz menuconfig" / oldconfig etc does not
work
Description: 
buildroot allows you to do "make BOARD=xyz world" to compile using the
configuration file in local/xyz/xyz.config, but you can't call menuconfig,
oldconfig etc in this way.

The problem is that the name of the configuration file isn't being passed
to the kconfig tool (package/config/conf). kconfig uses $BUILDROOT_CONFIG,
so all that is needed is to set that environment variable.

Patch attached fixes this so that "make BOARD=xyz oldconfig" works.
====================================================================== 

---------------------------------------------------------------------- 
 hmoffatt - 11-01-07 18:02  
---------------------------------------------------------------------- 
"make BOARD=xyz world" also fails due to a few more hard-coded references
to .config. br2-board-config2.diff fixes those. 

---------------------------------------------------------------------- 
 UlfSamuelsson - 11-27-07 13:28  
---------------------------------------------------------------------- 
Once you have a ".config" file, you can store your board configuration by:

$ make saveconfig

This will store the .config for buildroot, linux, uclibc and busybox.
If the project name is "xyz", then they will be stored in the "local/xyz"


You can retrieve your configuration by:

$ make BOARD=xyz getconfig

It is wrong to make the things depend on BUILDROOT_CONFIG.
They should depend on ".config" 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-31-07 22:52  hmoffatt       New Issue                                    
10-31-07 22:52  hmoffatt       Status                   new => assigned     
10-31-07 22:52  hmoffatt       Assigned To               => buildroot       
10-31-07 22:52  hmoffatt       File Added: br-board-config.diff                 
  
11-01-07 18:01  hmoffatt       File Added: br-board-config2.diff                
   
11-01-07 18:02  hmoffatt       Note Added: 0002885                          
11-27-07 13:28  UlfSamuelsson  Note Added: 0002977                          
======================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [buildroot 0001568]: "make BOARD=xyz menuconfig" / oldconfig etc does not work
  2007-11-27 21:28 [Buildroot] [buildroot 0001568]: "make BOARD=xyz menuconfig" / oldconfig etc does not work bugs at busybox.net
@ 2007-12-11  6:28 ` Hamish Moffatt
  2007-12-13 20:28   ` [Buildroot] [buildroot 0001568]: "make BOARD=xyz menuconfig"/ " Ulf Samuelsson
  0 siblings, 1 reply; 5+ messages in thread
From: Hamish Moffatt @ 2007-12-11  6:28 UTC (permalink / raw)
  To: buildroot

On Tue, Nov 27, 2007 at 01:28:49PM -0800, bugs at busybox.net wrote:
> Description: 
> buildroot allows you to do "make BOARD=xyz world" to compile using the
> configuration file in local/xyz/xyz.config, but you can't call menuconfig,
> oldconfig etc in this way.
> 
> The problem is that the name of the configuration file isn't being passed
> to the kconfig tool (package/config/conf). kconfig uses $BUILDROOT_CONFIG,
> so all that is needed is to set that environment variable.
> 
> Patch attached fixes this so that "make BOARD=xyz oldconfig" works.
> ====================================================================== 
> 
> ---------------------------------------------------------------------- 
>  hmoffatt - 11-01-07 18:02  
> ---------------------------------------------------------------------- 
> "make BOARD=xyz world" also fails due to a few more hard-coded references
> to .config. br2-board-config2.diff fixes those. 
> 
> ---------------------------------------------------------------------- 
>  UlfSamuelsson - 11-27-07 13:28  
> ---------------------------------------------------------------------- 
> Once you have a ".config" file, you can store your board configuration by:
> 
> $ make saveconfig
> 
> This will store the .config for buildroot, linux, uclibc and busybox.
> If the project name is "xyz", then they will be stored in the "local/xyz"
> 
> 
> You can retrieve your configuration by:
> 
> $ make BOARD=xyz getconfig
> 
> It is wrong to make the things depend on BUILDROOT_CONFIG.
> They should depend on ".config" 

That's ok if you want to use getconfig and saveconfig all the time. I
would rather not have any .config but always use "make BOARD=xyz ...".

IMHO there is too much risk of forgetting to save your configuration. 
You could "make menuconfig" then "make getconfig" and forget to
saveconfig in between. I already hate it that you have to 
"make busybox-update" and "make linux-update" and "make uclibc-update" 
after reconfiguring those - they should just use my configuration files 
as specified by BR2_PACKAGE_BUSYBOX_CONFIG etc. 

This can be done by either modifying the kconf tools to use an
environment variable, or perhaps by symlinking the relevant files to
.config instead of copying them (assuming kconf's save is
symlink-friendly).

I mean no offense when I ask, is project support well-supported by the
buildroot community over all? Is it your work originally Ulf with little
support from the others? Some things like the above don't work as I
expect them, so it feels a bit rough. In the case of my patch in this
bug report, you could apply it and make me happy without any detriment
to the way you work (with getconfig/saveconfig).

Regards
Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [buildroot 0001568]: "make BOARD=xyz menuconfig"/ oldconfig etc does not work
  2007-12-11  6:28 ` Hamish Moffatt
@ 2007-12-13 20:28   ` Ulf Samuelsson
  0 siblings, 0 replies; 5+ messages in thread
From: Ulf Samuelsson @ 2007-12-13 20:28 UTC (permalink / raw)
  To: buildroot

> I mean no offense when I ask, is project support well-supported by the
> buildroot community over all? Is it your work originally Ulf with little
> support from the others? Some things like the above don't work as I
> expect them, so it feels a bit rough. In the case of my patch in this
> bug report, you could apply it and make me happy without any detriment
> to the way you work (with getconfig/saveconfig).
> 

No, you destroy the original intent by making certain things depend
on the stuff in local/<proj>/*.config

We do not depend on the different "defconfigs" as well.
We copy them to .config and then we depend on .config

A good way to fix your problem could be to have a 

make BOARD=xyz reconfig

which would 

* make BOARD=$(BOARD) getconfig
* make menuconfig
* make saveconfig

Best Regards
Ulf Samuelsson

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-12-13 20:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-27 21:28 [Buildroot] [buildroot 0001568]: "make BOARD=xyz menuconfig" / oldconfig etc does not work bugs at busybox.net
2007-12-11  6:28 ` Hamish Moffatt
2007-12-13 20:28   ` [Buildroot] [buildroot 0001568]: "make BOARD=xyz menuconfig"/ " Ulf Samuelsson
  -- strict thread matches above, loose matches on Subject: below --
2007-11-02  1:02 [Buildroot] [buildroot 0001568]: "make BOARD=xyz menuconfig" / " bugs at busybox.net
2007-11-01  5:52 bugs at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox