compat-drivers: add initial kconfig development

This adds intial development kconfig support (make menuconfig).
Synching in kconfig from linux-next next-20130326.
Support is still under development so to enable it
if you want to work on it, just run manually:

  make -f scripts/kconfig/Makefile menuconfig

compat already provides its own set of scripts that
computes the kernels you need and spits it out to .config
through the call:

  ./compat/scripts/gen-compat-config.sh > $(COMPAT_CONFIG)

Perhaps something along these lines will do it:

	--- a/Makefile
	+++ b/Makefile
	@@ -29,6 +29,7 @@ DESTDIR?=
	 ifneq ($(KERNELRELEASE),)

	 -include $(COMPAT_CONFIG)
	+-include $(BACKPORT_CONFIG)
	 include $(COMPAT_CONFIG_CW)

	 NOSTDINC_FLAGS := \
	@@ -86,7 +87,8 @@ export CFLAGS += \
	 # These exported as they are used by the scripts
	 # to check config and compat autoconf
	 export COMPAT_CONFIG_CW=$(PWD)/config.mk
	-export COMPAT_CONFIG=$(PWD)/.config
	+export COMPAT_CONFIG=$(PWD)/compat/.config
	+export BACKPORT_CONFIG=$(PWD)/.config

But I'm done for the day.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
27 files changed
tree: 771771abb086d2c3605ee3fdf221c3756872d826
  1. enable-older-kernels/
  2. patches/
  3. scripts/
  4. .gitignore
  5. config.mk
  6. COPYING
  7. Kconfig
  8. Kconfig.env
  9. Makefile
  10. README.md
README.md

Linux compat drivers compatibility package

This package provides backport support for drivers from newer kernels down to older kernels. It currently backports 3 subsystems:

  • Ethernet
  • Wireless
  • Bluetooth
  • GPU

This package provides the latest Linux kernel subsystem enhancements for kernels 2.6.24 and above. It is technically possible to support kernels < 2.6.24 but more work is required for that.

Documentation

This package is documented online and has more-up-to date information online than on this README file. You should read the wiki page and not rely on this README!

https://backports.wiki.kernel.org

License

This work is a subset of the Linux kernel as such we keep the kernel's Copyright practice. Some files have their own copyright and in those cases the license is mentioned in the file. All additional work made to building this package is licensed under the GPLv2.