summaryrefslogtreecommitdiff
path: root/v4l/scripts/check_config_defines.pl
AgeCommit message (Collapse)Author
2007-10-03scripts: improve check_config_defines.plTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> If a kconfig option goes away in the v4l-dvb Kconfig files, but is still present in the kernel Kconfig files, then v4l-dvb code using that option would appear to be ok. This is fixed by not reading the drivers/media Kconfig files from the kernel source and merging the options defined there with those from the v4l-dvb version. If a Kconfig file is read from v4l-dvb, the kernel version of that file is not read. Fix a regex bug that made #ifdef CONFIG_WHATEVER_MODULE appear to be missing when WHATEVER did exist. Check #ifndef too. Get Kconfig options from menuconfig lines too. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-10-04Fix bug in check_config_defines.pl scriptTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The code to get the file list from hg manifest wasn't escaped right and the error value check was the opposite of what it should have been. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-24Add new script, check_config_defines.plTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> This script will check source files against the v4l-dvb and kernel Kconfig files, to make sure that all CONFIG_XXX defines mentioned in the source files have corresponding config options in the Kconfig files. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>