[OpenWrt-Devel] [PATCH 1/2] toolchain: add support for custom toolchains

John Crispin john at phrozen.org
Wed Jun 5 12:46:21 EDT 2019

On 05/06/2019 18:42, Karl Palsson wrote:
> John Crispin <john at phrozen.org> wrote:
>> The requirement for being able to add custom src toolchains to
>> the build system has been brought forward by the members of the
>> prpl foundation. This patch tries to address this requirement
>> by allowing a ned folder to be loaded into the tree call
>> toolchain_custom. The subfolders contained within have the same
>> layout as the toolchain folder. By placing optional Makefiles
>> into these subfolders It is possible to override the versions
>> of the various toolchain components aswell as their patch sets
>> and make templates.
>> Signed-off-by: John Crispin <john at phrozen.org>
>> ---
>> diff --git a/toolchain/Config.in b/toolchain/Config.in index
>> 82dddbc209..cad492aa1e 100644
>> --- a/toolchain/Config.in
>> +++ b/toolchain/Config.in
>> @@ -155,6 +155,11 @@ menuconfig EXTERNAL_TOOLCHAIN
>>   		  Specify additional directories searched for libraries (override LDFLAGS).
>>   		  Use ./DIR for directories relative to the root above.
>> +	depends on DEVEL
>> +
>> +source "toolchain_custom/*.in"
> Could we add help text here, based on the commit comment that
> says how this option is to be used?
> Sincerely,
> Karl Palsson
It is a dummy place holder, overridden by the toolchain_custom/Config.in 
wildcard include. It is not meant to have a help text as its not really 
there until there is a custom toolchain installed. As you know we have 
piles of these transient symbols, none of which have a help text.


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list