summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
author오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2018-10-19 16:19:49 +0900
committerGitHub Enterprise <noreply-CODE@samsung.com>2018-10-19 16:19:49 +0900
commitf64f2bc2e8b74c07908eb5e5d8decc100a78adf9 (patch)
tree1035129df4e4770ca5b063836be176454885e2ad /scripts
parent61a9106591c7ef1e292bc78310c1a8b33f1ce407 (diff)
downloadnnfw-f64f2bc2e8b74c07908eb5e5d8decc100a78adf9.tar.gz
nnfw-f64f2bc2e8b74c07908eb5e5d8decc100a78adf9.tar.bz2
nnfw-f64f2bc2e8b74c07908eb5e5d8decc100a78adf9.zip
Introduce install script (#3254)
* Introduce install script introduce install script Howto: On project root, "./run install" with environment variable setting Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com> * Remove ambiguous comment
Diffstat (limited to 'scripts')
-rw-r--r--scripts/command/install16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/command/install b/scripts/command/install
new file mode 100644
index 000000000..c6631ce0a
--- /dev/null
+++ b/scripts/command/install
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+source "${NNFW_SCRIPT_PATH}/build.configuration"
+
+if [[ ! -d "${BUILD_ALIAS}" ]]; then
+ echo "'${BUILD_ALIAS}' does not exist. Please run 'configure' first"
+ exit 255
+fi
+
+if [[ ! -d "${INSTALL_ALIAS}" ]]; then
+ echo "'${INSTALL_ALIAS}' does not exist. Please run 'configure' first"
+ exit 255
+fi
+
+cd ${BUILD_ALIAS}
+make install