Add the tar.bz2 archive
[dvb-osmc.git] / README
blob08e53c6e4e8990979e7a7b8ae55b1b785d5c2105
1 This is an experimental build system for media drivers.
2 All files on this tree are covered by GPLv2, as stated at COPYING file.
4 Usage:
6 Just call the build utility:
7         $ ./build
9 Then, install the drivers as root, with:
10         # make install
12 In order to test, unload old drivers with:
13         # make rmmod
15 Then modprobe the driver you want to test. For example, to load driver 'foo':
16         # modprobe foo
19 If you're developing a new driver or patch, it is better to use:
20         $ ./build --main-git
22 Then, install the drivers as root, with:
23         # make install
25 In order to test, unload old drivers with:
26         # make rmmod
28 Then modprobe the driver you want to test. For example:
29         # modprobe bttv
31 In this case, in order to modify something, you should edit the file at
32 the media/ subdir.
34 For example, a typical procedure to develop a new patch would be:
36         ~/media_build $ cd media
37         ~/media $ gedit drivers/media/video/foo.c
38         ~/media $ make -C ../v4l
39         ~/media $ make -C .. rmmod
40         ~/media $ modprobe foo
41         (some procedure to test the "foo" driver)
42         ~/media $ git diff >/tmp/my_changes.patch
43         (email /tmp/my_changes.patch inlined to linux-media@vger.kernel.org)