Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Hamish Moffatt <hamish@cloud.net.au>
To: buildroot@busybox.net
Subject: [Buildroot] project support: "make BOARD=xyz getconfig" does not work unless	you already have a .config
Date: Thu, 1 Nov 2007 17:07:31 +1100	[thread overview]
Message-ID: <20071101060731.GA20265@cloud.net.au> (raw)

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>

                 reply	other threads:[~2007-11-01  6:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20071101060731.GA20265@cloud.net.au \
    --to=hamish@cloud.net.au \
    --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