Commit 7b861465 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+tools/elphel-tools-update

parent 12dd42c5
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
E393_METADIR="meta" E393_METADIR="meta"
E393_FPGADIR="fpga-elphel" E393_FPGADIR="fpga-elphel"
E393_ROOTFSDIR="rootfs-elphel" E393_ROOTFSDIR="rootfs-elphel"
E393_TOOLSDIR="tools"
#LINUX ELPHEL #LINUX ELPHEL
E393_LINUX_ADDR="https://github.com/Elphel/linux-elphel.git" E393_LINUX_ADDR="https://github.com/Elphel/linux-elphel.git"
...@@ -126,6 +127,14 @@ APPS_ARRAY=( ...@@ -126,6 +127,14 @@ APPS_ARRAY=(
#add new app below #add new app below
) )
TOOLS_ARRAY=(
#tools-update
"https://github.com/Elphel/elphel-tools-update.git"
"elphel-tools-update"
"master"
""
#add new tool below
)
if [ "$1" = "dev" ]; then if [ "$1" = "dev" ]; then
E393_LINUX_HASH="" E393_LINUX_HASH=""
...@@ -232,6 +241,19 @@ for elem in $(seq 0 4 $((${#APPS_ARRAY[@]} - 1))); do ...@@ -232,6 +241,19 @@ for elem in $(seq 0 4 $((${#APPS_ARRAY[@]} - 1))); do
done done
cd .. cd ..
if [ ! -d $E393_TOOLSDIR ]; then
echo " Creating $E393_TOOLSDIR"
mkdir $E393_TOOLSDIR
else
echo " $E393_TOOLSDIR exists"
fi
cd $E393_TOOLSDIR
#Clone user space applications
for elem in $(seq 0 4 $((${#TOOLS_ARRAY[@]} - 1))); do
cloneandcheckout "${TOOLS_ARRAY[$elem]}" "${TOOLS_ARRAY[$elem+1]}" "${TOOLS_ARRAY[$elem+2]}" "${TOOLS_ARRAY[$elem+3]}"
copy_eclipse_settings "${TOOLS_ARRAY[$elem+1]}"
done
cd ..
echo " echo "
...@@ -311,18 +333,20 @@ echo "Running: . ./oe-init-build-env build. If config files existed they will be ...@@ -311,18 +333,20 @@ echo "Running: . ./oe-init-build-env build. If config files existed they will be
echo "" echo ""
echo "BBLAYERS = \" \\" >> $BBLAYERS_CONF cat <<EOT >> $BBLAYERS_CONF
echo " $CURRENT_PATH2/meta \\" >> $BBLAYERS_CONF BBLAYERS = " \\
echo " $CURRENT_PATH2/meta-yocto \\" >> $BBLAYERS_CONF $CURRENT_PATH2/meta \\
echo " $CURRENT_PATH2/meta-yocto-bsp \\" >> $BBLAYERS_CONF $CURRENT_PATH2/meta-yocto \\
echo " $CURRENT_PATH1/$E393_METADIR/$EZQROOT \\" >> $BBLAYERS_CONF $CURRENT_PATH2/meta-yocto-bsp \\
echo " $CURRENT_PATH1/$E393_METADIR/$E393ROOT \\" >> $BBLAYERS_CONF $CURRENT_PATH1/$E393_METADIR/$EZQROOT \\
echo " $CURRENT_PATH1/$E393_METADIR/$XLNXROOT \\" >> $BBLAYERS_CONF $CURRENT_PATH1/$E393_METADIR/$E393ROOT \\
echo " $CURRENT_PATH1/$E393_METADIR/$MOEROOT/meta-oe \\" >> $BBLAYERS_CONF $CURRENT_PATH1/$E393_METADIR/$XLNXROOT \\
echo " $CURRENT_PATH1/$E393_METADIR/$MOEROOT/meta-python \\" >> $BBLAYERS_CONF $CURRENT_PATH1/$E393_METADIR/$MOEROOT/meta-oe \\
echo " $CURRENT_PATH1/$E393_METADIR/$MOEROOT/meta-networking \\" >> $BBLAYERS_CONF $CURRENT_PATH1/$E393_METADIR/$MOEROOT/meta-python \\
echo " $CURRENT_PATH1/$E393_METADIR/$MOEROOT/meta-webserver \\" >> $BBLAYERS_CONF $CURRENT_PATH1/$E393_METADIR/$MOEROOT/meta-networking \\
echo " \"" >> $BBLAYERS_CONF $CURRENT_PATH1/$E393_METADIR/$MOEROOT/meta-webserver \\
"
EOT
#distro features: systemd #distro features: systemd
#echo "DISTRO_FEATURES_append = \" systemd\"" >> $LOCAL_CONF #echo "DISTRO_FEATURES_append = \" systemd\"" >> $LOCAL_CONF
......
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