-
Notifications
You must be signed in to change notification settings - Fork 0
License
Dark-Sky/media_build
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# This is an experimental build system for media drivers. # All files on this tree are covered by GPLv2, as stated at COPYING file. # This tree is for compiling updatelee's modules for use with his updateDVB. # Usage: # First install depends: sudo apt-get install git build-essential linux-headers-generic ncurses-dev bc patchutils wget libdigest-sha-perl libproc-processtable-perl fakeroot libelf-dev libssl-dev bison flex pigz # For a normal compile to just apply UDL's kernel modules to your kernel use this procedure. # It downloads a snapshot (@8M compressed tarball) of only the needed headers to compile UDL's modules. git clone https://github.com/Dark-Sky/media_build.git cd media_build_udl ./build sudo make install sudo cp sanitized-dvb-headers/* /usr/include/linux/dvb/ sudo reboot # If you're developing a new driver or patch: git clone https://github.com/Dark-Sky/media_build.git cd media_build_udl ./build --main-git --depth 1 sudo make install sudo cp sanitized-dvb-headers/* /usr/include/linux/dvb/ sudo reboot # 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 [email protected]) Some other notes that may be useful: To clean the tree in order to start over: make -C linux distclean To clean the tree to remove all files so you can compile for another kernel version: make cleanall To create a new todaytar of the latest media drivers: make -C linux todaytar DIR=/full/path-to/medial_build/media
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published