On Mon, Jan 10, 2011 at 09:46:40AM -0200, Mauro Carvalho Chehab wrote: > Em 07-01-2011 21:42, Theodore Kilgore escreveu: > > >> Have you tried Mauro's media_build tree? I had to use it today to test a > >> driver from git on a 2.6.35 kernel. Works quite nicely. Perhaps we > > should > >> promote this more. > > > > Probably a good idea. I have been too busy to know about it, myself. And I > > even do try to keep up with what is going on. > > > >> I could add backwards compatibility builds to my > > daily > >> build script that uses this in order to check for which kernel versions > >> this compiles if there is sufficient interest. ... > I think Hans can enable it. The backport effort on media-build is a way > easier than with -hg. For example, in order to support kernel 2.6.31 (the oldest > one on that tree), we need only 10 patches. The patches themself are simple: > > $ wc -l *.patch > 61 v2.6.31_nodename.patch > 540 v2.6.32_kfifo.patch > 42 v2.6.33_input_handlers_are_int.patch > 70 v2.6.33_pvrusb2_sysfs.patch > 40 v2.6.34_dvb_net.patch > 22 v2.6.34_fix_define_warnings.patch > 16 v2.6.35_firedtv_handle_fcp.patch > 104 v2.6.35_i2c_new_probed_device.patch > 145 v2.6.35_work_handler.patch > 104 v2.6.36_input_getkeycode.patch > 1144 total > > And almost all patches are trivial. FWIW, linux-wireless developers maintain a generic compat tree used for backporting wireless drivers: http://git.kernel.org/?p=linux/kernel/git/mcgrof/compat.git;a=summary I suppose it might be useful to share this between linux-wireless and linux-media? (It is used together with three other trees to autobuild the compat-wireless releases. http://wireless.kernel.org/en/users/Download It works like that: - compat.git: generic backporting layer - compat-wireless-2.6.git: build system - compat-user.git: autobuild scripts called via cron - wireless-testing.git: linux-wireless development tree (wireless-testing.git is based on latest stable kernel but with the wireless code from linux-next) compat-wireless releases are not meant for development, but they can be used as a build system together with a wireless-testing.git tree and a few symlinks.) Johannes -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html