diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-03-14 15:25:20 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-09 22:57:51 +0200 |
commit | 9bd541d3b2a0256d59bc84fb2d204401dcdedb8e (patch) | |
tree | fcc455678342d09fe2eb541d752203453f13bd16 /package/qt5 | |
parent | 53785a2c77e723c394197df68efb71d6938e1884 (diff) | |
download | buildroot-9bd541d3b2a0256d59bc84fb2d204401dcdedb8e.tar.gz buildroot-9bd541d3b2a0256d59bc84fb2d204401dcdedb8e.zip |
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>
Diffstat (limited to 'package/qt5')
0 files changed, 0 insertions, 0 deletions