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/12 13:07] – removed svn reference. Custom feed update. skyperdocs:guide-developer:feeds [2021/10/15 09:06] (current) – ↷ Links adapted because of a move operation bobafetthotmail
Line 155: Line 155:
 === Adding your package to your own feed === === Adding your package to your own feed ===
  
-For this example we assume that you name your feed ''custom'' and your project is called ''helloworld'' and the openwrt Makefile is at ''/home/user/customsrc/helloworld/Makefile''.+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''   - Edit ''/home/user/openwrt/feeds.conf.default''
-  - Add a new line for your feed. <code>src-link custom /home/user/customsrc/</code>+  - Add a new line for your feed. <code>src-link custom /usr/src/openwrt/custom-feed/</code>
  
  
   - Update the feed: from the ''<buildroot dir>'' (e.g. ''/home/user/openwrt'') do: <code>./scripts/feeds update custom</code>   - Update the feed: from the ''<buildroot dir>'' (e.g. ''/home/user/openwrt'') do: <code>./scripts/feeds update custom</code>
   - And then install it <code>./scripts/feeds install -a -p custom</code>   - And then install it <code>./scripts/feeds install -a -p custom</code>
-  - Now your package(s) should be available when you do <code>make menuconfig</code> 
- 
  
  
 ==== Using the feed ==== ==== 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%% 
-src-link customfeed /home/user/openwrt/project/packages'' | 
- 
-or in the case of the second example: 
- 
-| ''src-link customfeed /home/user/openwrt/project/customfeed'' | 
- 
-  - 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 188: 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/12 13:07
  • by skyper