mirror of
https://github.com/tbsdtv/media_build.git
synced 2025-07-23 04:13:02 +02:00
44e31262093818820bb3fb77d36ce317eb6336a4
This makes building with RHEL 9.5 and derivative easier as we only need to comment some patches in backports.txt.
This is an experimental build system for media drivers. All files on this tree are covered by GPLv2, as stated at COPYING file. Usage: Just call the build utility: $ ./build Then, install the drivers as root, with: # make install In order to test, unload old drivers with: # make rmmod Then modprobe the driver you want to test. For example, to load driver 'foo': # modprobe foo If you're developing a new driver or patch, it is better to use: $ ./build --main-git Then, install the drivers as root, with: # make install In order to test, unload old drivers with: # make rmmod Then modprobe the driver you want to test. For example: # modprobe bttv In this case, in order to modify something, you should edit the file at the media/ subdir. For example, a typical procedure to develop a new patch would be: ~/media_build $ cd media ~/media $ gedit drivers/media/video/foo.c ~/media $ make -C ../v4l ~/media $ make -C .. rmmod ~/media $ modprobe foo (some procedure to test the "foo" driver) ~/media $ git diff >/tmp/my_changes.patch (email /tmp/my_changes.patch inlined to linux-media@vger.kernel.org)
Description
Languages
Perl
42.2%
Shell
30%
C
23.4%
Makefile
4.3%