source: trunk/plugins/README @ 517

Last change on this file since 517 was 517, checked in by amain, 6 years ago

Merge contrib branch 340:516. Main features added:

  • updated plugin architecture
  • improved patch system
  • bitten continous integration support
  • sever build fixed over time to remain in sync with OpenWrt
File size: 1.4 KB
RevLine 
[269]1DebWrt plugins support
2
3Layout:
4
[517]5  plugins/<plugin-name>/           - plugin directory
6  plugins/<plugin-name>/README     - information about the plugin
7  plugins/<plugin-name>/plugin.mk  - included as a Makefile by plugins.mk
8  plugins/<plugin-name>/debwrt     - debwrt patches
9  plugins/<plugin-name>/openwrt    - openwrt patches
[269]10
11All plugins are enabled by default and all patches part of the plugin will be
[517]12applied to DebWrt and OpenWrt. Use the make <target> PLUGIN=<plugin-name> to
[269]13only apply one plugin.
14
[517]15The DebWrt patches are automatically applied in `sort`-ed order before
16make (menu)config.
[273]17
[517]18OpenWrt patches are applied at the same time as DebWrt's patches to OpenWrt.
19Patches can be target at specific branches or ranges of revision based on
20filename.  Refer to openwrt/patches/README for imformation on the process.
21Note patches MUST follow the rules in openwrt/patches/README as otherwise they
22will not be applied!
23
24plugin.mk is included by the plugins.mk Makefile.  See
25plugins/example/plugin.mk.example for an example.  Note most rules will require
26$(PLUGIN_ID) to be copied into a pattern-specific variable.
27
28
[273]29Make targets to manage plugings. Normally only needed when developing a plugin. Targets:
30
[517]31  make plugins/apply   - Apply debwrt patches and show message openwrt patches are done later
32  make plugins/remove  - Remove debwrt patches
33  make plugins/clean   - Clean up apply and de-apply states
[273]34
Note: See TracBrowser for help on using the repository browser.