diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-06-04 16:18:51 -0700 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2007-06-04 16:18:51 -0700 |
commit | 4f574fa6fb96098e56b0eac1649eebd186dfd7a4 (patch) | |
tree | 51c98cb0d67e6eed7cf2f9aa5d600b66c4aeee39 /linux | |
parent | adba0fd6ff159a95c07caddf54e73a84175ec736 (diff) | |
download | mediapointer-dvb-s2-4f574fa6fb96098e56b0eac1649eebd186dfd7a4.tar.gz mediapointer-dvb-s2-4f574fa6fb96098e56b0eac1649eebd186dfd7a4.tar.bz2 |
build: fix make kernel-links
From: Trent Piepho <xyzzy@speakeasy.org>
The out of tree v4l-dvb build system uses slightly different compiler
flags than the kernel does. This caused problems when trying to compile
the out of tree version of the source symlinked into the kernel tree.
The workaround is to have the script that creates the symlinks also
create a new file called drivers/media/Kbuild, which the kernel build
system will use in preference to divers/media/Makefile. The new Kbuild
file exports the necessary EXTRA_CFLAGS to make building work and then
includes the real drivers/media/Makefile.
The dvb Makefiles were changed in a previous patch from 'EXTRA_CFLAGS='
to 'EXTRA_CFLAGS+=' so they wouldn't replace the new EXTRA_CFLAGS.
The symlink creating script is also re-written to make the symlinks
faster with less duplication of commands and avoid some unnecessary
links.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux')
0 files changed, 0 insertions, 0 deletions