I am trying to build a set of drivers present in the s2-liplianin  tree against Ubuntu's 2.6.35 so that I can use the drivers separately. So I put the s2-liplianin tree in the ~/s2-liplianin directory and did: make -C /lib/modules/$(uname -r)/build M=$(pwd)/linux/drivers/media CONFIG_DVB_MANTIS=m modules
The build fails for those Makefiles which use EXTRA_CFLAGS to add some include paths. eg., linux/drivers/media/video/Makefile has: EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core EXTRA_CFLAGS += -Idrivers/media/dvb/frontends EXTRA_CFLAGS += -Idrivers/media/common/tuners
Here is what I get when the build fails: /home/fs/dray/s2-liplianin/linux/drivers/media/video/tuner-core.c:25:20: error: mt20xx.h: No such file or directory /home/fs/dray/s2-liplianin/linux/drivers/media/video/tuner-core.c:26:21: error: tda8290.h: No such file or directory /home/fs/dray/s2-liplianin/linux/drivers/media/video/tuner-core.c:27:21: error: tea5761.h: No such file or directory
All those files are present in those include paths added to EXTRA_CFLAGS above.
I can see the s2-liplianin tree, like the other Mercurial trees of the LinuxTV folks, do not look the usual Git trees from kernel.org. Is that the reason for this problem?