On 05/06/2019 18:42, Karl Palsson wrote:
John Crispin <[email protected]> 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 <[email protected]>
---
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.
+config CUSTOM_TOOLCHAIN
+       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.

    John




_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to