summaryrefslogtreecommitdiff
path: root/v4l/scripts/make_noconfig.pl
AgeCommit message (Collapse)Author
2006-06-08Improve v4l configuration scripts, handle versions.txt differentlyMauro Carvalho Chehab
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>
2006-04-27Compilation for DVB_AV7110_FIRMWARE seems to be weirdMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Some systems use a previous config information to generate a default config. This seems to cause troubles on some systems. This patch fixes compilation for AV7110 firmware inside V4L/DVB tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-25Improves V4L/DVB in-tree buildingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, make_kconfig.sh will check for boolean/tristate config vars and handle it properly. Also, make allyesconfig/allmodconfig will use make_kconfig.sh to generate .myconfig instead of conf -m. This way, make all will not require priviledges at kernel tree. write access to kernel tree is still required for make menuconfig/ make xconfig/make qconfig. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-15make_noconfig.pl fixed for CONFIG_DVB_AV7110_OSD and CONFIG_DVB_AV7110_FIRMWAREOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Without this fix, CONFIG_DVB_AV7110_OSD=y and CONFIG_DVB_AV7110_FIRMWARE=y were ignored in v4l/Makefile because make_noconfig.pl set them to "CONFIG_DVB_AV7110_... = m". Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-04-09Newer drivers now compile fine with 2.6.14 kernel.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-07Now, make all will replicate old behaviorMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> make all will do allmodconfig before compiling Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-07Big changes at v4l-dvb make internal workingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Previously, tree building were based on Make.config. This file contained all compiling stuff. Also, v4l/Makefile contained all drivers that should be copiled, replicating the rules of all other Makefiles under linux. Now, make will rely on linux/*/Makefile to compile the modules. This approach allows usage of Kconfig files, allowing partial compilations. Newer makefile commands introduced: make allmodconfig - Selects all stuff to be compiled as module; make config - Selects packages via text interface; make xconfig - Selects packages via qt interface; make gconfig - selects packages via gtk interface. for config, xconfig and gconfig to be used, those scripts needs to be previously compiled at kernel. So, user needs to use those commands previously at kernel tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>