Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel393
Commits
8eb41cba
Commit
8eb41cba
authored
Sep 28, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. M-lines marked red 2. +color
parent
2e875a79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
setup.sh
setup.sh
+12
-11
No files found.
setup.sh
View file @
8eb41cba
...
@@ -172,7 +172,7 @@ cloneandcheckout () {
...
@@ -172,7 +172,7 @@ cloneandcheckout () {
else
else
echo
" Already cloned - check out branch then git pull"
echo
" Already cloned - check out branch then git pull"
cd
$2
cd
$2
git checkout
$3
git checkout
$3
|
grep
--color
-E
'^|^M\s(.*)$'
git pull
git pull
cd
..
cd
..
fi
fi
...
@@ -191,7 +191,7 @@ copy_eclipse_settings () {
...
@@ -191,7 +191,7 @@ copy_eclipse_settings () {
fi
fi
}
}
echo
"Step 1: Clone kernel project
echo
-e
"
\e
[1;37mStep 1: Clone kernel project
\e
[0m
"
"
cloneandcheckout
$E393_LINUX_ADDR
$E393_LINUX_ROOT
$E393_LINUX_BRANCH
$E393_LINUX_HASH
cloneandcheckout
$E393_LINUX_ADDR
$E393_LINUX_ROOT
$E393_LINUX_BRANCH
$E393_LINUX_HASH
...
@@ -205,8 +205,8 @@ fi
...
@@ -205,8 +205,8 @@ fi
echo
"
echo
-e
"
Step 2: Clone fpga projects
\e
[1;37mStep 2: Clone fpga projects
\e
[0m
"
"
if
[
!
-d
$E393_FPGADIR
]
;
then
if
[
!
-d
$E393_FPGADIR
]
;
then
...
@@ -237,19 +237,20 @@ cd ..
...
@@ -237,19 +237,20 @@ cd ..
echo
"
echo
-e
"
Step 3: Clone applications and libraries projects
\e
[1;37mStep 3: Clone applications and libraries projects
\e
[0m
"
"
if
[
!
-d
$E393_ROOTFSDIR
]
;
then
if
[
!
-d
$E393_ROOTFSDIR
]
;
then
echo
" Creating
$E393_ROOTFSDIR
"
echo
" Creating
$E393_ROOTFSDIR
"
mkdir
$E393_ROOTFSDIR
mkdir
$E393_ROOTFSDIR
else
else
echo
"
$E393_ROOTFSDIR
exists"
echo
"
$E393_ROOTFSDIR
already
exists"
fi
fi
cd
$E393_ROOTFSDIR
cd
$E393_ROOTFSDIR
#Clone user space applications
#Clone user space applications
for
elem
in
$(
seq
0 4
$((${#
APPS_ARRAY
[@]
}
-
1
)))
;
do
for
elem
in
$(
seq
0 4
$((${#
APPS_ARRAY
[@]
}
-
1
)))
;
do
echo
-e
"
\e
[1;37m*
\e
[0m
${
APPS_ARRAY
[
$elem
+1]
}
"
cloneandcheckout
"
${
APPS_ARRAY
[
$elem
]
}
"
"
${
APPS_ARRAY
[
$elem
+1]
}
"
"
${
APPS_ARRAY
[
$elem
+2]
}
"
"
${
APPS_ARRAY
[
$elem
+3]
}
"
cloneandcheckout
"
${
APPS_ARRAY
[
$elem
]
}
"
"
${
APPS_ARRAY
[
$elem
+1]
}
"
"
${
APPS_ARRAY
[
$elem
+2]
}
"
"
${
APPS_ARRAY
[
$elem
+3]
}
"
copy_eclipse_settings
"
${
APPS_ARRAY
[
$elem
+1]
}
"
copy_eclipse_settings
"
${
APPS_ARRAY
[
$elem
+1]
}
"
done
done
...
@@ -270,8 +271,8 @@ done
...
@@ -270,8 +271,8 @@ done
cd
..
cd
..
echo
"
echo
-e
"
Step 4: Extra meta layers
\e
[1;37mStep 4: Extra meta layers
\e
[0m
"
"
if
[
!
-d
$E393_METADIR
]
;
then
if
[
!
-d
$E393_METADIR
]
;
then
...
@@ -295,8 +296,8 @@ cd ..
...
@@ -295,8 +296,8 @@ cd ..
echo
"
echo
-e
"
Step 5: Poky
\e
[1;37mStep 5: Poky
\e
[0m
"
"
cloneandcheckout
$POKYADDR
$POKYROOT
$POKYBRANCH
$POKYHASH
cloneandcheckout
$POKYADDR
$POKYROOT
$POKYBRANCH
$POKYHASH
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment