Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
taste-setup
Commits
8e2124e3
Commit
8e2124e3
authored
Sep 21, 2017
by
Thanassis Tsiodras
Browse files
Always install the last version of ocarina_components.aadl
parent
0b82296b
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/40_ocarina.sh
View file @
8e2124e3
...
...
@@ -5,6 +5,11 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Setup the tools in ~/.local/bin
cd
"
$DIR
/../ocarina"
||
exit
1
# Install Maxime's customized version of available deployment targets
cat
../misc/supported-platforms/ocarina_components.aadl |
\
sed
"s,/home/taste/tool-inst,
$(
taste-config
--prefix
)
,"
>
\
${
PREFIX
}
/share/ocarina/AADLv2/ocarina_components.aadl
# Skip Ocarina building if tree is clean and version is identical
HEAD
=
"
$(
git log
--oneline
|
head
-1
|
cut
-d
' '
-f1
)
"
VERSION_INSTALLED
=
"
$(
ocarina
-v
2>&1 |
grep
^Oca |
awk
'{print $NF}'
|
sed
's,),,;s,r,,'
)
"
...
...
@@ -25,11 +30,6 @@ make distclean # ignore any errors here
make
||
exit
1
make
install
# Install Maxime's customized version of available deployment targets
cat
../misc/supported-platforms/ocarina_components.aadl |
\
sed
"s,/home/taste/tool-inst,
$(
taste-config
--prefix
)
,"
>
\
${
PREFIX
}
/share/ocarina/AADLv2/ocarina_components.aadl
# Add Ocarina to PATH
PATH_CMD
=
'export PATH=$PATH:'
"
${
PREFIX
}
/bin"
UpdatePATH
Write
Preview
Supports
Markdown
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