aboutsummaryrefslogtreecommitdiff
path: root/Config.in.legacy
diff options
context:
space:
mode:
authorGravatar Matt Weber <matthew.weber@rockwellcollins.com>2019-10-27 15:59:02 -0500
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-10-28 23:09:33 +0100
commit25a5b9665d7d3c7603283847ff6a278f61812514 (patch)
treeb05c16fa908869d289aade30693575a26bcf378c /Config.in.legacy
parentd4773b610a40be1d3ac7d793033abaf4eb2491ed (diff)
downloadbuildroot-25a5b9665d7d3c7603283847ff6a278f61812514.tar.gz
buildroot-25a5b9665d7d3c7603283847ff6a278f61812514.tar.bz2
toolchain: expose BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS for all toolchain types
This patch extends the "copy extra GCC libraries to target" feature to also work for internal toolchains. The variable has been renamed to be BR2_TOOLCHAIN_EXTRA_LIBS and the configuration option moved under the generic toolchain package. For external toolchains, the step that does the copy is still in the copy_toolchain_lib_root() helper which copies from the sysroot to the target. For the internal toolchain, the host gcc-final package does a post install hook to copy the libraries from the toolchain build folders to both the sysroot and target(!static). Examples where this can be useful is for adding debug libraries to the target like the GCC libsanitizer (libasan/liblsan/...). Cc: Markus Mayer <mmayer@broadcom.com> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'Config.in.legacy')
-rw-r--r--Config.in.legacy11
1 files changed, 11 insertions, 0 deletions
diff --git a/Config.in.legacy b/Config.in.legacy
index d4f3d04062..b3086300e6 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,17 @@ endif
comment "Legacy options removed in 2019.11"
+config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
+ string "toolchain-external extra libs option has been renamed"
+ help
+ The option BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS has
+ been renamed to BR2_TOOLCHAIN_EXTRA_LIBS.
+
+config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS_WRAP
+ bool
+ default y if BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS != ""
+ select BR2_LEGACY
+
config BR2_PACKAGE_PYTHON_PYSNMP_APPS
bool "python-pysnmp-apps was removed"
select BR2_LEGACY