Commit 282d5e2b authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

minor changes

parent 947b19a0
...@@ -15,7 +15,7 @@ SUFFIX=".orig" ...@@ -15,7 +15,7 @@ SUFFIX=".orig"
INITENV="initenv" INITENV="initenv"
OVERWRITE_INITENV=1 OVERWRITE_INITENV=1
CROSS_COMPILE="arm-poky-linux-gnueabi-" CROSS_COMPILE="arm-poky-linux-gnueabi-"
COMPILE_PATH="/opt/poky/1.4/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/" COMPILE_PATH="/opt/poky/1.4/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi"
echo "Step 1: Cloning Xilinx's u-boot repository (master-next branch)" echo "Step 1: Cloning Xilinx's u-boot repository (master-next branch)"
if [ ! -d "$REPO_DIR_NAME/.git" ]; then if [ ! -d "$REPO_DIR_NAME/.git" ]; then
...@@ -61,13 +61,11 @@ fi ...@@ -61,13 +61,11 @@ fi
if [ $OVERWRITE_INITENV = 1 ] ; then if [ $OVERWRITE_INITENV = 1 ] ; then
echo "#!/bin/sh echo "#!/bin/sh
export CROSS_COMPILE=$CROSS_COMPILE export CROSS_COMPILE=$CROSS_COMPILE
export PATH=$COMPILE_PATH:\$PATH" > $INITENV export PATH=$COMPILE_PATH/:\$PATH" > $INITENV
#exec permissions are not required for source
#chmod +x $INITENV
fi fi
if [ ! -d $COMPILE_PATH ] ; then if [ ! -d $COMPILE_PATH ] ; then
echo " WARNING: Please edit initenv accordingly to your cross compiler path" echo " WARNING: Please edit initenv according to your cross compiler path"
fi fi
echo "DONE" echo "DONE"
\ No newline at end of file
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