summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2006-09-03 06:11:28 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2006-09-03 06:11:28 -0700
commit2c18ae81f3896cdfad3471781d3c8aaaaa0bbe80 (patch)
tree77841d259bf0fd2050f364c30ab6493b0a8c4f8b /linux/drivers/media/video
parent7f333ce6d8e31fc39b9f25440c458200687918ef (diff)
downloadmediapointer-dvb-s2-2c18ae81f3896cdfad3471781d3c8aaaaa0bbe80.tar.gz
mediapointer-dvb-s2-2c18ae81f3896cdfad3471781d3c8aaaaa0bbe80.tar.bz2
Keep rules in v4l/Makefile from confusing kernel
From: Trent Piepho <xyzzy@speakeasy.org> v4l/Makefile not only calls the kernel Makefile to do the module building, but it is in turn included by the kernel Makefile. This means _all_ the rules in v4l/Makefile get used by the kernel Makefile when it tries to build the modules. Some of these rules, for files like .config, Kconfig, .version, confuse the kernel building process. The kernel make thinks, "I need to remake _my_ Kconfig file because my .version file is out of date." But that rule was never supposed to be used by the kernel, it is just for v4l! This is fixed by putting $(obj) in front of all these files' rules. That way the kernel will never think the rules refer to its files and try to use them. Really, this whole business of having the kernel Makefile include v4l/Makefile is rather complex. It might be a good idea to create v4l/Kbuild, which the kernel will use in preference to v4l/Makefile, so that we don't have to worry about v4l/Makefile getting used in two different contexts. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video')
0 files changed, 0 insertions, 0 deletions