Initial version of the new building system

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
linux/Makefile: Improve it

- Add targets to clean the old dirs/files
- remove uneeded aspas
- fix help message

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
linux/Makefile: remove arch-specific files

I doubt that this build would work with arm/sh archs anyway. So, make it
simpler.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
linux/Makefile: Avoid adding more files than what we actually need

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Auto-include compat.h

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Rename readme file

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Add a brand new README file explaining how this work.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Remove Makefile.media

This file should be auto-generated.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Make it compile with 2.6.32

This patch adds compat bits in order to allow compiling it with
2.6.32 (RHEL6 version - didn't test with vanilla one).

Basically, it adds a new target to linux/Makefile
	make apply_patches VER=<version>

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
linux/Makefile: add a target to unapply patches

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
linux/Makefile: add a target to generate the today's tar

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
linux/Makefile: Add an option to download the latest tarball from linuxtv.org

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
add a script to automate building

This script will automate building, assuming that the backport patches
will apply fine.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
linux/Makefile: Add a target to avoid needing to tar/untar for a local file

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
linux/Makefile: Uses v4l/.version

if v4l/.version exists, use it for applying patches, if DIR= is not
specified.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
v4l/Makefile: fix make clean target

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
linux/Makefile: default target is to build

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
linux/Makefile: Prevent applying the patches twice

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Fix build with kernel 2.6.36

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Start adding backport for v2.6.35

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>