LinuxTV

News

2006-04-08   Big changes at v4l-dvb make internal working

Big changes at v4l-dvb make internal working

Previously, tree building were based on Make.config. This file contained all compiling stuff. Also, v4l/Makefile contained all drivers that should be compiled, replicating the rules of all other Makefiles under linux.

Now, make will rely on linux/*/Makefile to compile the modules. This approach allows usage of Kconfig files, allowing partial compilations.

Newer makefile commands introduced:

  • make allmodconfig - Selects all stuff to be compiled as module;
  • make config - Selects packages via text interface;
  • make xconfig - Selects packages via qt interface;
  • make gconfig - selects packages via gtk interface.

For config, xconfig and gconfig to be used, those scripts needs to be previously compiled at kernel. So, user needs to use those commands previously at kernel tree.

just make all will run allmodconfig before make all.

Also something new at this approach: versions.txt file were added. This file identifies the minimal kernel version supported by each file. It will allow easier working when backporting to an specific version.

We should add to v4l-dvb tree soon all other V4L/DVB supported drivers already at kernel, but not present on our tree. Those will be compatible only with the latest version for now. Backport patches are always welcome.

Cheers,
Mauro.

mchehab