Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:guide-developer:feeds [2021/07/11 11:16] – [Creating the package directory] add FIXME's (replacing broken old svn nonsense) russellseniordocs:guide-developer:feeds [2021/10/15 09:06] (current) – ↷ Links adapted because of a move operation bobafetthotmail
Line 145: Line 145:
  
 ==== Creating the package directory ==== ==== Creating the package directory ====
 +
 +For this example we assume that your are in ''/home/user/openwrt'' as your base directory.
  
 === Adding your package to an existing feed === === Adding your package to an existing feed ===
  
-For this example we assume that your are in ''/home/user/openwrt'' as your base directory. 
  
 FIXME FIXME
  
-=== Creating your own feed ===+=== Adding your package to your own feed ===
  
-FIXME+For this example we assume that you name your feed ''custom'' and your project is called ''helloworld'' and its openwrt Makefile is located at ''/usr/src/openwrt/custom-feed/helloworld/Makefile''.
  
 +  - Edit ''/home/user/openwrt/feeds.conf.default''
 +  - Add a new line for your feed. <code>src-link custom /usr/src/openwrt/custom-feed/</code>
  
-==== Using the feed ==== 
-  - Edit your ''feeds.conf'' (i.e. ''/home/user/openwrt/project/openwrt/feeds.conf'') 
-  - Add a new line to access the feed (and in the case of adding to the packages feed comment out the normal packages feed.) 
-  - e.g. 
  
-| ''#srv-svn packages %%svn://svn.openwrt.org/openwrt/packages%% +  Update the feedfrom the ''<buildroot dir>'' (e.g. ''/home/user/openwrt'') do: <code>./scripts/feeds update custom</code> 
-src-link customfeed /home/user/openwrt/project/packages'' |+  And then install it <code>./scripts/feeds install -a -p custom</code>
  
-or in the case of the second example: 
  
-| ''src-link customfeed /home/user/openwrt/project/customfeed''+==== Using the feed ====
- +
-  - Update the feed: from the ''<buildroot dir>'' (e.g. ''/home/user/openwrt/project/openwrt'') do: <code>./scripts/feeds update customfeed</code> +
-  - And then install it <code>./scripts/feeds install -p customfeed</code>+
   - Now your package(s) should be available when you do <code>make menuconfig</code>   - Now your package(s) should be available when you do <code>make menuconfig</code>
  
Line 178: Line 173:
  
 ==== Documentation ==== ==== Documentation ====
-  - [[docs:guide-developer:build-system:start|OpenWrt Buildroot – About]] +  - [[docs:guide-developer:toolchain:start|OpenWrt Buildroot – About]] 
-  - [[docs:guide-developer:build-system:install-buildsystem|OpenWrt Buildroot – Installation]] +  - [[docs:guide-developer:toolchain:install-buildsystem|OpenWrt Buildroot – Installation]] 
-  - [[docs:guide-developer:build-system:use-buildsystem|OpenWrt Buildroot – Usage]]+  - [[docs:guide-developer:toolchain:use-buildsystem|OpenWrt Buildroot – Usage]]
   - OpenWrt Buildroot – Feeds   - OpenWrt Buildroot – Feeds
   - [[docs:techref:buildroot|OpenWrt Buildroot – Technical Reference]] {{:meta:icons:tango:48px-construction.svg.png?nolink&16}} this article needs //your// attention.   - [[docs:techref:buildroot|OpenWrt Buildroot – Technical Reference]] {{:meta:icons:tango:48px-construction.svg.png?nolink&16}} this article needs //your// attention.
  • Last modified: 2021/07/11 11:16
  • by russellsenior