[Buildroot] [git commit] Allow several device tables and split in two parts our device table
Peter Korsgaard
jacmet at uclibc.org
Tue May 17 08:43:28 UTC 2011
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at 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
More information about the buildroot
mailing list