summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2018-12-06 10:49:02 +0900
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>2018-12-06 10:49:02 +0900
commitbf45d8c1ecf110d7fe1b360a6bee8436a44987db (patch)
treeab5fe7e92645f0e870eac5613cf84014928b53ba
parent08d335cc99e461bbfd4240813682855cf37cb32f (diff)
downloadnnfw-bf45d8c1ecf110d7fe1b360a6bee8436a44987db.tar.gz
nnfw-bf45d8c1ecf110d7fe1b360a6bee8436a44987db.tar.bz2
nnfw-bf45d8c1ecf110d7fe1b360a6bee8436a44987db.zip
Remove UPDATE_MODULE in makefile (#3891)
Remove UPDATE_MODULE environment variable to ignore submodule update: deprecated feature because we don't use submodule Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
-rw-r--r--Makefile5
-rw-r--r--packaging/nnfw.spec4
2 files changed, 2 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 5b2bfa47a..1bb694982 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,6 @@ OBS_BUILD?=OFF
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)
@@ -115,10 +114,6 @@ ifneq ($(EXT_ACL_FOLDER),)
ACL_FOLDER_BUILD=$(EXT_ACL_FOLDER)
endif
-ifeq ($(OBS_BUILD),ON)
- UPDATE_MODULE=0
-endif
-
all: build
###
diff --git a/packaging/nnfw.spec b/packaging/nnfw.spec
index fe241eb8e..5f7178df8 100644
--- a/packaging/nnfw.spec
+++ b/packaging/nnfw.spec
@@ -48,9 +48,9 @@ NNFW test rpm. It does not depends on nnfw rpm since it contains nnfw runtime.
%{!?coverage_build: %define coverage_build 0}
%if %{coverage_build} == 1
-%define build_options COVERAGE_BUILD=1 OBS_BUILD=1 BUILD_TYPE=Debug TARGET_ARCH=%{target_arch} TARGET_OS=tizen UPDATE_MODULE=0
+%define build_options COVERAGE_BUILD=1 OBS_BUILD=1 BUILD_TYPE=Debug TARGET_ARCH=%{target_arch} TARGET_OS=tizen
%else
-%define build_options OBS_BUILD=1 BUILD_TYPE=%{build_type} INSTALL_PATH=%{buildroot}%{_prefix} TARGET_ARCH=%{target_arch} TARGET_OS=tizen UPDATE_MODULE=0
+%define build_options OBS_BUILD=1 BUILD_TYPE=%{build_type} INSTALL_PATH=%{buildroot}%{_prefix} TARGET_ARCH=%{target_arch} TARGET_OS=tizen
%endif
%prep