mirror of
https://github.com/tbsdtv/media_build.git
synced 2025-07-22 12:00:35 +02:00
20 lines
410 B
Bash
Executable File
20 lines
410 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Enable some staging drivers
|
|
make stagingconfig
|
|
|
|
# Disable RC/IR support
|
|
sed -i -r 's/(^CONFIG.*_RC.*=)./\1n/g' v4l/.config
|
|
sed -i -r 's/(^CONFIG.*_IR.*=)./\1n/g' v4l/.config
|
|
|
|
echo "V4L drivers building..."
|
|
make -j$(nproc)
|
|
|
|
echo "V4L drivers installing..."
|
|
sudo rm -r -f /lib/modules/$(uname -r)/updates/extra
|
|
|
|
sudo make install
|
|
|
|
echo "V4L drivers installation done"
|
|
echo "You need to reboot..."
|