kumquat-buildroot/linux
Yann E. MORIN 9bd541d3b2 linux: simplify adding new extensions
Curently, all three linux extensions follow the same layout:
  - test if the extension is enabled
  - add itself to linux' patch-dependencies
  - declare a macro, added as the pre-patch hook

Except for the macro, all can be commonalised.

Add a simple infrastructure for that:
  - extensions declare themselves in the list of extensions
  - extensions define their macro
  - the infra adds them to the patch-dependencies and pre-patch
    hooks as appropriate

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-09 22:57:51 +02:00
..
Config.ext.in linux-ext: update Xenomai help text 2015-03-29 15:21:37 +02:00
Config.in Fix typos in comment blocks 2015-04-08 22:44:43 +02:00
linux-ext-fbtft.mk linux: fix extensions 2015-04-09 22:52:20 +02:00
linux-ext-rtai.mk linux: fix extensions 2015-04-09 22:52:20 +02:00
linux-ext-xenomai.mk linux: fix extensions 2015-04-09 22:52:20 +02:00
linux.mk linux: simplify adding new extensions 2015-04-09 22:57:51 +02:00