Changeset 517 for trunk/plugins/README


Ignore:
Timestamp:
Jun 26, 2013, 11:25:44 PM (6 years ago)
Author:
amain
Message:

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
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/plugins

    • Property svn:ignore
      •  

        old new  
        55de-apply-debwrt
        66de-apply-openwrt
         7generate-config
  • trunk/plugins/README

    r273 r517  
    33Layout:
    44
    5   plugins/<plugin-name/        - plugin directory
    6   plugins/<plugin-name/debwrt  - debwrt patches
    7   plugins/<plugin-name/openwrt - openwrt patches
    8   plugins/<plugin-name/README  - information about the plugin
     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
    910
    1011All plugins are enabled by default and all patches part of the plugin will be
    11 applied to DebWrt and OpenWrt. Use the make <taget> PLUGIN=<plugin-name> to
     12applied to DebWrt and OpenWrt. Use the make <target> PLUGIN=<plugin-name> to
    1213only apply one plugin.
    1314
    14 The DebWrt patches are automatically applied in sort order before
    15 make (menu)config. OpenWrt patches are automatically applied in sort order
    16 after OpenWrt has been checked out.
     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
    1728
    1829Make targets to manage plugings. Normally only needed when developing a plugin. Targets:
    1930
    20   make plugins/apply             - Apply debwrt patches and show message openwrt patches are done later
    21   make plugins/apply-debwrt      - Apply debwrt patches
    22   make plugins/apply-openwrt     - Apply openwrt patches
    23   make plugins/de-apply          - De apply debwrt and openwrt patches
    24   make plugins/de-apply-debwrt   - Apply debwrt patches
    25   make plugins/de-apply-openwrt  - Apply openwrt patches
    26   make plugins/clean             - Clean up apply and de-apply states
     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
    2734
Note: See TracChangeset for help on using the changeset viewer.