[source] scripts: Probe external toolchains for libgomp

LEDE Commits lede-commits at lists.infradead.org
Thu May 11 13:47:58 PDT 2017


florian pushed a commit to source.git, branch master:
https://git.lede-project.org/08fb61d316dc897b62a3d746927768b87e1bff58

commit 08fb61d316dc897b62a3d746927768b87e1bff58
Author: Florian Fainelli <f.fainelli at gmail.com>
AuthorDate: Mon Apr 3 19:03:21 2017 -0700

    scripts: Probe external toolchains for libgomp
    
    Now that libgomp can be a package, probe external toolchains for that
    library.
    
    Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
---
 scripts/ext-toolchain.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/ext-toolchain.sh b/scripts/ext-toolchain.sh
index 09390c5..f4b9877 100755
--- a/scripts/ext-toolchain.sh
+++ b/scripts/ext-toolchain.sh
@@ -38,6 +38,7 @@ LIB_SPECS="
 	gcc:      libgcc_s
 	ssp:      libssp
 	gfortran: libgfortran
+	gomp:	  libgomp
 "
 
 # Binary specs
@@ -361,7 +362,7 @@ print_config() {
 	fi
 
 	local lib
-	for lib in C RT PTHREAD GCC STDCPP SSP GFORTRAN; do
+	for lib in C RT PTHREAD GCC STDCPP SSP GFORTRAN GOMP; do
 		local file
 		local spec=""
 		local llib="$(echo "$lib" | sed -e 's#.*#\L&#')"



More information about the lede-commits mailing list