Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [git commit] Allow several device tables and split in two parts our device table
Date: Tue, 17 May 2011 10:43:28 +0200	[thread overview]
Message-ID: <87mxilhg3z.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20110517090426.0bd12953@surf> (Thomas Petazzoni's message of "Tue, 17 May 2011 09:04:26 +0200")

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

Hi,

 Thomas> I know it's my stuff, but this doesn't work that well. Once you
 Thomas> have choosen one particular solution, if you switch to another,
 Thomas> then the list of default device table isn't updated
 Thomas> accordingly. Of course, we want to preserve the user choice for
 Thomas> the list of device tables, but I'm quite sure we'll have some
 Thomas> support requests from people doing :

 Thomas>  * A build based on a dynamic /dev
 Thomas>  * Change configuration to static /dev
 Thomas>  * Build
 Thomas>  * See that nothing works, because /dev is empty

Yes, I know - It's the same kind of issues we have with busybox/uclibc
configuration file if you change version.

 Thomas> But I don't know what we can do against this. Should we instead add an
 Thomas> option to makedevs to instruct makedevs to skip entries in /dev ? This
 Thomas> option could then be used for all dynamic /dev cases, and would work
 Thomas> even if the device table contains entries for /dev ? Or should we keep
 Thomas> it as it is ?

Alternatively we can split it up and provide an option for the base
device table (which will default to target/generic/device_table.txt) and
add an option for static device nodes (which defaults to
target/generic/device_table_dev.txt) and only make that option visible
if static dev is used.

The makefile can then concatenate those options and use them like it is
done today.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2011-05-17  8:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-10 21:43 [Buildroot] [git commit] Allow several device tables and split in two parts our device table Thomas Petazzoni
2011-05-17  7:04 ` Thomas Petazzoni
2011-05-17  8:43   ` Peter Korsgaard [this message]
2011-05-17  8:55     ` Thomas Petazzoni
2011-05-17  9:42       ` Peter Korsgaard

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=87mxilhg3z.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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