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

Karl Palsson karlp at tweak.net.au
Wed Jun 5 12:42:25 EDT 2019

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?

Karl Palsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP-digital-signature.html
Type: application/pgp-signature
Size: 1175 bytes
Desc: OpenPGP Digital Signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190605/1cfe9a73/attachment.sig>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list