summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
author오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 <hseok82.oh@samsung.com>2018-05-24 08:37:33 +0900
committer서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>2018-05-24 08:37:33 +0900
commit9b4d5e3c1ad1552525e9634bf29c683f9a74a876 (patch)
tree7464209abe8660a6de8bd382249bacc79a59c651 /Makefile
parent80bd9e02bbc0a0e7ce171a3dbd17aee994cc9dca (diff)
downloadnnfw-9b4d5e3c1ad1552525e9634bf29c683f9a74a876.tar.gz
nnfw-9b4d5e3c1ad1552525e9634bf29c683f9a74a876.tar.bz2
nnfw-9b4d5e3c1ad1552525e9634bf29c683f9a74a876.zip
Disable submodule update in Makefile (#1310)
Disable submodule update in Makefile It will be useful to test submodule's PR Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 63b172973..2f2c065dc 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ OBS_BUILD?=0
COVERAGE_BUILD?=0
BENCHMARK_ACL_BUILD?=0
OPTIONS?=
+UPDATE_MODULE?=1
# make TARGET and TYPE to lowercase
TARGET_ARCH_LC=$(shell echo $(TARGET_ARCH) | tr A-Z a-z)
@@ -93,6 +94,9 @@ else
ACL_COMMAND+=build_dir=release
ACL_FOLDER_BUILD=$(ACL_FOLDER)/build/release
endif
+ifeq ($(TARGET_OS),tizen)
+ UPDATE_MODULE=0
+endif
all: build
@@ -122,7 +126,7 @@ tflite: tflite_build_internal
### Command (internal)
###
configure_internal:
-ifneq ($(TARGET_OS),tizen)
+ifeq ($(UPDATE_MODULE),1)
git submodule update --init --recursive
endif