diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-08 12:12:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-08 12:12:07 -0300 |
commit | ea9723bc221278765e75d0362ce36881285ee241 (patch) | |
tree | 5f183261b3196b1c4f8c00f36920ba0bdbb79695 /linux/drivers/media/video/cx25840 | |
parent | cc64aacbe823925c5cd8593e2f0e0fe7ba896053 (diff) | |
download | mediapointer-dvb-s2-ea9723bc221278765e75d0362ce36881285ee241.tar.gz mediapointer-dvb-s2-ea9723bc221278765e75d0362ce36881285ee241.tar.bz2 |
Improve v4l configuration scripts, handle versions.txt differently
From: Trent Piepho <xyzzy@speakeasy.org>
This mainly changes the way make_kconfig.pl handles config options that
require a newer kernel, as defined by versions.txt. Currently it outputs
a blank config stanza defining the variable and setting it to 'n'. These
show up as mysterious un-named grayed out options in xconfig, or just
don't appear at all in menuconfig.
The new method outputs an extra config stanza to the top of v4l/Kconfig,
VIDEO_KERNEL_VERSION. This boolean variable defaults to 'n', and if
enabled, allows selecting drivers that are listed as needing a newer
kernel. Config options that need a newer kernel still apear in
v4l/Kconfig with their names and help text, but they now have an
additional dependency on VIDEO_KERNEL_VERSION, and an extra bit in the
help text warning that they need a newer kernel. They will appear greyed
out in xconfig, but will still have their proper names and help text. If
the user turns VIDEO_KERNEL_VERSION on, then they can be enabled. The
kernel version in versions.txt tends to be somewhat conservative.
The default v4l/.config file generated by make_kconfig.pl will have these
options set to no, instead of yes/module as it did before.
make_noconfig.pl will no longer look at versions.txt, or deal with kernel
version detection. It will get a list of all config options by reading
v4l/Kconfig, and produce .myconfig by setting all bool/tristate options
to their value from v4l/.config, or 'n' if not listed.
A few bugs have been fixed, and the regexs adjusted. They were making a
few mistakes before, or were otherwise flawed. The scripts do more error
checking that the files they parse conform to the expected syntax.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvaho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx25840')
0 files changed, 0 insertions, 0 deletions