source: trunk/plugins/README

Last change on this file 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
Line 
1DebWrt plugins support
2
3Layout:
4
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
10
11All plugins are enabled by default and all patches part of the plugin will be
12applied to DebWrt and OpenWrt. Use the make <target> PLUGIN=<plugin-name> to
13only apply one plugin.
14
15The DebWrt patches are automatically applied in `sort`-ed order before
16make (menu)config.
17
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
29Make targets to manage plugings. Normally only needed when developing a plugin. Targets:
30
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
34
Note: See TracBrowser for help on using the repository browser.