aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/init.sh
diff options
context:
space:
mode:
authorAngelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>2017-04-25 11:44:14 +0200
committerAngelo Mantellini <angelo.mantellini@irt-systemx.fr>2017-04-25 14:27:35 +0000
commit4ff32ec79cf0ba8ddb8c46f2f36adce379819643 (patch)
treee36c5a489efdc55bbac9da42dfbe6fa0d60c6590 /scripts/init.sh
parent13c1de7a419e40af21254da23f11a08f2a59bb4d (diff)
create viper apk
Change-Id: I025e4ef889932c243e99687037a294222fd975c6 Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'scripts/init.sh')
-rwxr-xr-xscripts/init.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/init.sh b/scripts/init.sh
index 78a0b430..7e3d8ccb 100755
--- a/scripts/init.sh
+++ b/scripts/init.sh
@@ -89,6 +89,10 @@ if [ ! -d libicnet ]; then
echo "libicnet not found"
git clone -b libicnet/master https://gerrit.fd.io/r/cicn libicnet
fi
+if [ ! -d viper ]; then
+ echo "viper not found"
+ git clone -b viper/master https://gerrit.fd.io/r/cicn viper
+fi
cd ../
@@ -133,7 +137,7 @@ if [ ! -d ${INSTALLATION_DIR}/include/boost ]; then
fi
echo "Copy libcrystax in workspace"
-cp -n crystax-ndk-10.3.2/sources/crystax/libs/${ABI}/libcrystax.* ${INSTALLATION_DIR}/lib/
+cp crystax-ndk-10.3.2/sources/crystax/libs/${ABI}/libcrystax.* ${INSTALLATION_DIR}/lib/
echo "Create libevent"
@@ -195,4 +199,6 @@ if [ ! -d ${INSTALLATION_DIR}/include/libxml ]; then
cp -rf jni/libxml2/include/* ${INSTALLATION_DIR}/include/
cp -f obj/local/${ABI}/libxml2.a ${INSTALLATION_DIR}/lib/
cd ..
-fi \ No newline at end of file
+fi
+
+cd ..