[OpenWrt-Devel] Target profile from feed

Jonas Höglund jonas.hoglund at embeddednation.com
Tue Dec 13 07:17:26 EST 2016


On 12/13/2016 12:01 PM, Zoltan Gyarmati wrote:
> On 12/13/2016 02:04 AM, Zoltan Gyarmati wrote:
>> Dear All,
>>
>> I'm starting to set up a board configuration for a customized HW based
>> on the RT535F-Olinuxino board. I need some target profile level
>> customization, so i want to create a profile let's say
>> "RT535F-Olinuxino-MyBoard",  but i would like to avoid patching the
>> OpenWrt tree itself in order to make the later OpenWrt updates earlier
>> (and keep separated what possible to send upstream and what not), so i
>> would like to keep my new profile in a feed.
>>
>>  Unfortunately i failed to find any example or tutorial how to do this,
>> the closest i found is as an example is:
>>
>> https://github.com/openwrt-zipit/openwrt-pxa-target
>>
>> but this adds a complete target (like
>> https://github.com/openwrt/targets.git).
>>
>> Can someone perhaps point me to an example or a tutorial for this?
>>
>> Thanks in advance, br
>>
> After looking into this more, i found in scripts/feeds that only the
> installation of full targets is implemented (via symlinking the target
> directory under target/linux.
> So it seems this leaves me 2 options:
>
> * adding a full target to my feed, which is odd, as this
> target/subtarget (ramips/rt305x) is already in the OpenWrt tree, so i
> have to come up with some 'fake' names for it

We do it this way. I.e. extract a copy of the target to our own feed,
rename it and install it using

./scripts/install -f <feed_name> <new_target>

BR
Jonas
> * Adding my target profile directly to the OpenWrt tree and manage these
> patch with rebase when i want to upgrade OpenWrt
>
> Is there any other option for adding customized target profile i might
> overlooked?
>
> Thanks, regards,
>
> Zoltan Gyarmati
> https://zgyarmati.de
>
>
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


-- 
Jonas Höglund
Embedded Nation AB

T: +46 (0) 72 25 30 283
E: jonas.hoglund at embeddednation.com
A: Näckrosvägen 32, SE-16927 Solna

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20161213/cc9fc87d/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list