scripts: fix CAMEO tag generator
[openwrt/staging/dedeckeh.git] / scripts / ext-toolchain.sh
index 09390c5e0d51f5195f776507593a29a48d77c614..4da287591acc0aef63b87096d41e6fe9ef16e88f 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
@@ -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&#')"
@@ -567,7 +569,7 @@ while [ -n "$1" ]; do
                        echo -e "  Most commands also take a --cflags parameter which " >&2
                        echo -e "  is used to specify C flags to be passed to the "     >&2
                        echo -e "  cross compiler when performing tests."               >&2
-                       echo -e "  This paremter may be repeated multiple times."       >&2
+                       echo -e "  This parameter may be repeated multiple times."      >&2
                        exit 1
                ;;