I succeded building/installing on Fedora 30 with kernel 5.6.13-100.fc30.x86_64 using Scritch fix (for undefined fwnode_get_name) but I also had to disable OV9650 (to fix undefined __devm_regmap_init_sccb). Note that you will need to apply the fix after "make distclean" for it to work properly. My full procedure for building and installing:
- Code: Select All Code
cd tbs/media
git remote update && git pull
git clean -ffdx
cd ../media_build
git remote update && git pull
git clean -ffdx
make dir DIR=../media
make distclean
echo "#define NEED_FWNODE_GETNAME 1" > ./v4l/config-mycompat.h # Fix undefined fwnode_get_name on kernel 5.6
sed -i '/VIDEO_OV9650/d' ./v4l/versions.txt && sed -i '/9.255.255/a VIDEO_OV9650' ./v4l/versions.txt # Fix undefined __devm_regmap_init_sccb on kernel 5.6 by skipping OV9650 build
make -j6
sudo mv /lib/modules/$(uname -r)/kernel/drivers/media/ ~/media_$(uname -r) # Still needed to fix install mismatch issues!?
sudo make install
sudo reboot
This is of course only working around the lacking support for kernel 5.6. The sed:s will also leave a modified "media_build/v4l/versions.txt". Use "git checkout -- v4l/versions.txt" to restore the original file.