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
|
Rev | Line | |
---|
[269] | 1 | DebWrt plugins support |
---|
| 2 | |
---|
| 3 | Layout: |
---|
| 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 | |
---|
| 11 | All plugins are enabled by default and all patches part of the plugin will be |
---|
[517] | 12 | applied to DebWrt and OpenWrt. Use the make <target> PLUGIN=<plugin-name> to |
---|
[269] | 13 | only apply one plugin. |
---|
| 14 | |
---|
[517] | 15 | The DebWrt patches are automatically applied in `sort`-ed order before |
---|
| 16 | make (menu)config. |
---|
[273] | 17 | |
---|
[517] | 18 | OpenWrt patches are applied at the same time as DebWrt's patches to OpenWrt. |
---|
| 19 | Patches can be target at specific branches or ranges of revision based on |
---|
| 20 | filename. Refer to openwrt/patches/README for imformation on the process. |
---|
| 21 | Note patches MUST follow the rules in openwrt/patches/README as otherwise they |
---|
| 22 | will not be applied! |
---|
| 23 | |
---|
| 24 | plugin.mk is included by the plugins.mk Makefile. See |
---|
| 25 | plugins/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] | 29 | Make 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.