Rebased from upstream / out of band repository.
[librecmc/librecmc.git] / scripts / ext-toolchain.sh
index 09390c5e0d51f5195f776507593a29a48d77c614..5070a4b15f8f5b3e5f13984a278ef568738e994e 100755 (executable)
@@ -35,9 +35,11 @@ LIB_SPECS="
        rt:       librt-* librt
        pthread:  libpthread-* libpthread
        stdcpp:   libstdc++
+       thread_db: libthread-db
        gcc:      libgcc_s
        ssp:      libssp
        gfortran: libgfortran
+       gomp:     libgomp
 "
 
 # Binary specs
@@ -307,7 +309,7 @@ print_config() {
                        echo "Available targets:"                               >&2
                        echo $mktargets                                         >&2
                else
-                       echo -e "Could not find a suitable OpenWrt target for " >&2
+                       echo -e "Could not find a suitable libreCMC target for " >&2
                        echo -e "CPU architecture '$cpuarch' - you need to "    >&2
                        echo -e "define one first!"                             >&2
                fi
@@ -361,7 +363,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&#')"