Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] project support: "make BOARD=xyz getconfig" does not work unless you already have a .config
@ 2007-11-01  6:07 Hamish Moffatt
  0 siblings, 0 replies; only message in thread
From: Hamish Moffatt @ 2007-11-01  6:07 UTC (permalink / raw)
  To: buildroot

I'm using multiple-project support for a task here (one of the reasons I
was attracted to buildroot) and I've encountered a few issues.

One is that "make BOARD=xyz oldconfig" does not work. Bug#1568, with
patch. Could somebody please apply this?

Another problem is that "make BOARD=xyz getconfig" does not work. This
one is a bit harder to solve. The situation is that getconfig is defined 
in project/project.mk, but that files is included after a .config.cmd,
which you don't have until after running "make oldconfig".

Thus you have to do

make BOARD=xyz oldconfig
make BOARD=xyz getconfig
make world

while you should logically be able to do

make BOARD=xyz getconfig
make oldconfig
make world

You need to be able to execute getconfig even if .config.cmd doesn't
exist (it doesn't appear to need it). Is it better to move getconfig
to the top-level Makefile to somewhere that doesn't depend on
.config.cmd? Logically it belongs in project/project.mk though.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-01  6:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01  6:07 [Buildroot] project support: "make BOARD=xyz getconfig" does not work unless you already have a .config Hamish Moffatt

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