From bf45d8c1ecf110d7fe1b360a6bee8436a44987db Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=98=A4=ED=98=95=EC=84=9D/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Staff=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Thu, 6 Dec 2018 10:49:02 +0900 Subject: [PATCH] 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 --- Makefile | 5 ----- packaging/nnfw.spec | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 5b2bfa4..1bb6949 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 fe241eb..5f7178d 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 -- 2.7.4