On 06/05/14 11:27 AM, Jan Lühr wrote:
> Hello,
> 
> 
> Am 05/06/2014 05:21 PM, schrieb Weedy:
>> On 06/05/14 11:17 AM, Jan Lühr wrote:
>>> Hello,
>>>
>>> thanks for your feedback - comments see below.
>>>
>>> Am 05/06/2014 03:09 PM, schrieb Mike Scheutzow:
>>>> On 05/06/2014 07:52 AM, Jan Lühr wrote:
>>>>> I'm curious on how openwrt.org is doing release builts.
>>>>> Considering, that there a many different router models for a specific
>>>>> archtecture (like ar71xx). Some devices need different drivers (USB, for
>>>>> example), some are limited in size (4mb flash).
>>>>>
>>>>> How does OpenWRT take care of these specifics while doing release builds?
>>>>>
>>>>> Is there a set of "default" packages for each single devices? If so, how
>>>>> is it taken into account while doing release builds?
>>>>
>>>> openwrt has a configure menu very similar to that used when building a
>>>> linux kernel.
>>>>
>>>> You must select the specific model you want to create a release for,
>>>> then the config system will choose default packages and default kernel
>>>> config. You can then further customize the selections.
>>>
>>>
>>>> So yes, the short answer is that there is a predefined config for each
>>>> model that is supported.
>>>>
>>>> Click on the "buildroot" link on the home page of wiki.openwrt.org for
>>>> more information.
>>>
>>> I'm familiar with the OpenWRT Build Environment - especially with make
>>> menuconfig.
>>>
>>> I'm more thinking of how to do release builds for many platforms.
>>
>> weedy@HAF ~/projects/openwrt $ cat configs/tl-wdr4300-home.config
> 
> Well, this requires maintaining a seperate .config-File for each router
> - I'm trying to avoid this.

Oh I forgot a "make V=99 defconfig" before the make.

"seperate .config" for each model you build are only the model selection
options. I build images for 9 routers right now, and it's not that hard.
The per board config files are all short.

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_TLWDR4300=y

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DIR615C1=y

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_TLWR2543=y

CONFIG_TARGET_brcm47xx=y
CONFIG_TARGET_brcm47xx_Broadcom-b43=y
CONFIG_TARGET_BOARD="brcm47xx"

etc etc. And then I add my main config and build. And it just goes.
I'm not sure how much easier you are expecting.
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to