diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-24 18:27:33 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-24 18:27:33 +0100 |
commit | 148249d08af2ef833175d3f9176c6709798d4a14 (patch) | |
tree | dc39146d700ae5a224c45885719a2bc8934bd7eb /jtools/prereq.sh | |
parent | 18a6922a938023cb061b7cd9895412549cb17288 (diff) | |
parent | 826fae84981bf030b6bb9d20117a1a1634ba3334 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'jtools/prereq.sh')
-rw-r--r-- | jtools/prereq.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/jtools/prereq.sh b/jtools/prereq.sh deleted file mode 100644 index 2604de1ab..000000000 --- a/jtools/prereq.sh +++ /dev/null @@ -1,27 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -# test for existing /usr/include/asm -if [ ! -d "/usr/include/asm" ]; then - echo "ERROR: directory \"/usr/include/asm\" not found." - echo "on some systems this is name asm-generic." - echo "try to create a link to the asm directory with" - echo "\"ln -s /usr/include/asm-generic /usr/include/asm\"" - exit 1 -fi - -# test if all files from the files.needed file are available -for LINE in `cat files.needed`; do - - FILE=`echo ${LINE} | awk -F ";" '{print $1}'` - LIB=`echo ${LINE} | awk -F ";" '{print $2}'` - - #echo -n "looking for development files of \"${LIB}\"..." - FOUND=`find /usr/include /usr/lib -name "${FILE}" | wc -l` - if [ ${FOUND} -lt 1 ]; then - echo "not found!"; - echo "Please install the development header files for the library \"${LIB}\"." - exit 1 - fi - -done |