diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | packaging/nnfw.spec | 4 |
2 files changed, 2 insertions, 7 deletions
@@ -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 |