user@user-mpc:~/Downloads/media_build$ make
make -C /home/user/Downloads/media_build/v4l
make[1]: Entering directory '/home/user/Downloads/media_build/v4l'
No version yet, using 5.4.0-51-generic
scripts/make_makefile.pl
Updating/Creating .config
make[2]: Entering directory '/home/user/Downloads/media_build/linux'
Syncing with dir ../../media
Applying patches for kernel 5.4.0-51-generic
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/debug.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
Syncing with dir ../../media
make[2]: Leaving directory '/home/user/Downloads/media_build/linux'
Preparing to compile for kernel version 5.4.0
***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.
If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.
Vanilla kernels are available at
http://kernel.org.
On most distros, this will compile a newly downloaded kernel:
cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install
Please see your distro's web site for instructions to build a new kernel.
WARNING: This is the V4L/DVB backport tree, with experimental drivers
backported to run on legacy kernels from the development tree at:
http://git.linuxtv.org/media-tree.git.
It is generally safe to use it for testing a new driver or
feature, but its usage on production environments is risky.
Don't use it in production. You've been warned.
Created default (all yes) .config file
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/5.4.0-51-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/user/Downloads/media_build/v4l/firmware'
make[2]: Leaving directory '/home/user/Downloads/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/user/Downloads/media_build/v4l/firmware'
CC ihex2fw
Generating vicam/firmware.fw
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory '/home/user/Downloads/media_build/v4l/firmware'
Kernel build directory is /lib/modules/5.4.0-51-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/user/Downloads/media_build/linux'
Syncing with dir ../../media
Patches for 5.4.0-51-generic already applied.
make[2]: Leaving directory '/home/user/Downloads/media_build/linux'
make -C /lib/modules/5.4.0-51-generic/build SUBDIRS=/home/user/Downloads/media_build/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-5.4.0-51-generic'
make[3]: *** No rule to make target 'arch/x86/tools/relocs_32.c', needed by 'arch/x86/tools/relocs_32.o'. Stop.
make[2]: *** [arch/x86/Makefile:232: archscripts] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-51-generic'
make[1]: *** [Makefile:53: default] Error 2
make[1]: Leaving directory '/home/user/Downloads/media_build/v4l'
make: *** [Makefile:26: all] Error 2