summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
author오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 <hseok82.oh@samsung.com>2018-04-24 19:10:51 +0900
committer서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>2018-04-24 19:10:51 +0900
commitd9c7924face9f31bfceb53e1fd1799c8fdd549e0 (patch)
treeeeb6299d76cf99d2306717e262bdb3d27ad159ff /Makefile
parentc7acc2fd3e873eb9e0cdee0a10598259e4014a17 (diff)
downloadnnfw-d9c7924face9f31bfceb53e1fd1799c8fdd549e0.tar.gz
nnfw-d9c7924face9f31bfceb53e1fd1799c8fdd549e0.tar.bz2
nnfw-d9c7924face9f31bfceb53e1fd1799c8fdd549e0.zip
Make option: runtime build only (#864)
Introduce new make option: runtime build only Can build runtime only by "make runtime" Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ca0d51cd6..3ca8c7c31 100644
--- a/Makefile
+++ b/Makefile
@@ -93,6 +93,8 @@ acl: internal_acl_build internal_acl_install
check: check_internal
+runtime: runtime_build_internal
+
###
### Command (internal)
###
@@ -167,6 +169,12 @@ build_coverage_suite: install_internal
@rm -rf include_lists.txt
@mv coverage-suite.tar.gz $(INSTALL_ROOT)/.
+runtime_build_internal: $(BUILD_ROOT)
+ cd $(BUILD_ROOT) && make -j $(NPROCS) runtime
+ rm -rf $(BUILD_ALIAS)
+ ln -s $(BUILD_FOLDER) $(BUILD_ALIAS)
+ touch $(TIMESTAMP_BUILD)
+
###
### Timestamps
###