]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - build.sh
Starterkit 5 Release 1.5 Bugfix
[karo-tx-redboot.git] / build.sh
index e258acc4f290e5163057ff5a93ca4ccfee230e66..7681c6c42bef15b6b9908f4f7338add7c450e5ae 100644 (file)
--- a/build.sh
+++ b/build.sh
@@ -20,7 +20,7 @@ error() {
 
 build_host_tools() {
     echo "Building host tools in $tools_dir"
-
+    # Debian packages tcl-dev and tk-dev are required for this build
     local wd="$PWD"
     local tcldirs="/usr/lib/tcl /usr/local/lib/tcl"
     local config_opts=""
@@ -32,6 +32,7 @@ build_host_tools() {
     done
     if [ -z "$config_opts" ];then
        for d in /usr/lib/tcl*;do
+           [ -d "$d" ] || continue
            config_opts="$config_opts --with-tcl-version=${d##*tcl}"
        done
     fi