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
HOST_GCC_FINAL_USR_LIBS += libgomp
endif
+HOST_GCC_FINAL_USR_LIBS += $(call qstrip,$(BR2_TOOLCHAIN_EXTRA_LIBS))
+
ifneq ($(HOST_GCC_FINAL_USR_LIBS),)
define HOST_GCC_FINAL_INSTALL_STATIC_LIBS
for i in $(HOST_GCC_FINAL_USR_LIBS) ; do \
Note: the full set of gconv libs are ~8MiB (on ARM).
+config BR2_TOOLCHAIN_EXTRA_LIBS
+ string "Extra toolchain libraries to be copied to target"
+ default BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS if BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS != "" # legacy
+ depends on !BR2_STATIC_LIBS
+ help
+ If your toolchain provides extra libraries that need to be
+ copied to the target filesystem, enter them here, separated
+ by spaces. The library should not include a suffix or any
+ type of pre/post wildcard.
+
+ Examples where this can be useful is for adding debug
+ libraries to the target like the GCC libsanitizer.
+ e.g. "libasan liblsan libtsan libubsan"
+
# This boolean is true if the toolchain provides a built-in full
# featured gettext implementation (glibc), and false if only a stub
# gettext implementation is provided (uclibc, musl)
TOOLCHAIN_EXTERNAL_LIBS += libgdruntime.so* libgphobos.so*
endif
-TOOLCHAIN_EXTERNAL_LIBS += $(call qstrip,$(BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS))
+TOOLCHAIN_EXTERNAL_LIBS += $(addsuffix .so*,$(call qstrip,$(BR2_TOOLCHAIN_EXTRA_LIBS)))
#
support. If you don't know, leave the default value,
Buildroot will tell you if it's correct or not.
-config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
- string "Extra toolchain libraries to be copied to target"
- help
- If your external toolchain provides extra libraries that
- need to be copied to the target filesystem, enter them
- here, separated by spaces. They will be copied to the
- target's /lib directory.
-
endif