Age | Commit message (Collapse) | Author |
|
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>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
This fixes the patch failure when using the "make kernel-links" build method.
We no longer have to patch videodev.h to include compat.h for the in-kernel
build using the v4l-dvb development repository, as the individual card drivers
that need compat.h are already including it.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Patrick Boettcher <pb@linuxtv.org>
sync with master
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
When building in-kernel, compile-time build options are passed into the
compiler using '#include <linux/config.h>' . This file #include's
<linux/autoconf.h> , which is created on the fly by the kbuild system.
However, this does not work correctly when building from the mercurial
repository, since the kernel is built indepentently of v4l/.myconfig
This creates a "config-compat.h", which will be #include'd by compat.h
and will emulate <linux/config.h> for the local build.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
use 'find' to symlink compat.h into each directory in drivers/ and include/
instead of explicitly specifying each that needs compat.h
This will remove the need to update v4l/scripts/makelinks.sh each time a
new driver is introduced to the tree, and fixes it's current broken state.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
Previously, 'make kernel-links' would patch the local Makefile,
such that 'make clean' would return the repository to its natural state.
This is causing maintenance problems, so I am removing it for now.
After running 'make kernel-links', one should re-clone the v4l-dvb repo,
until further notice.
WARNING: make kernel-links will destroy your kernel sources, and symlink
all v4l-dvb sources to the sources in this repository. Use this build
method at your own risk!
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
cvs commands replaced to hg
created a new script to help commiting
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
"make kernel-links" (dvb-kernel "makelinks" build method)
updated for merged tree.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- removed unneeded line.
* ../v4l/scripts/makelinks.sh:
* ../v4l/scripts/merge-trees.sh:
* ../v4l/scripts/unmerge-trees.sh:
- fixed offsets.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
based on 'makelinks' script in dvb-kernel cvs.
- Symlink cvs code into kernel source in order to build cvs code
inside kernel build.
- Currently requires merged-trees, because of some missing files
in v4l-kernel cvs, present in dvb-kernel cvs, such as Makefile
- 'make kernel-links' will automatically call 'make merge-trees'
- Currently requires a patch to linux/include/linux/videodev.h,
which adds #include "compat.h" Patch is applied during
'make kernel-links' and is removed during 'make clean'
- videodev.h patch and merge-trees dependency can be removed in
the future.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|