Modified symbolic links for armv7l in order to reduce the impact as much as possible

parent fba1c8b9
...@@ -92,8 +92,20 @@ done ...@@ -92,8 +92,20 @@ done
case "$architecture" in case "$architecture" in
"armv7l") "armv7l")
echo y | crew install gcc echo y | crew install gcc
if [ ! -L $HOME/Downloads/tools ]; then if [ ! -d $HOME/Downloads/tools ]; then
ln -s /usr/local $HOME/Downloads/tools mkdir $HOME/Downloads/tools
mkdir $HOME/Downloads/tools/bin
mkdir $HOME/Downloads/tools/lib
mkdir $HOME/Downloads/tools/libexec
mkdir $HOME/Downloads/tools/share
ln -s /usr/local/armv7a-cros-linux-gnueabi $HOME/Downloads/tools
ln -s /usr/local/bin/as $HOME/Downloads/tools/bin
ln -s /usr/local/bin/bison $HOME/Downloads/tools/bin
ln -s /usr/local/bin/ld $HOME/Downloads/tools/bin
ln -s /usr/local/bin/m4 $HOME/Downloads/tools/bin
ln -s /usr/local/lib/gcc $HOME/Downloads/tools/lib
ln -s /usr/local/libexec/gcc $HOME/Downloads/tools/libexec
ln -s /usr/local/share/bison $HOME/Downloads/tools/share
fi;; fi;;
esac esac
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment