summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>2018-05-02 16:11:23 +0900
committer서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>2018-05-02 16:11:23 +0900
commit74b3dbd3ded06fd0e09a9ac87562010824da36da (patch)
tree4f612e9edec46d26248b0adfda823bfb990b1225 /packaging
parent8f161b3f9cf2ef4f016b8c0c90971d8bbe8b590f (diff)
downloadnnfw-74b3dbd3ded06fd0e09a9ac87562010824da36da.tar.gz
nnfw-74b3dbd3ded06fd0e09a9ac87562010824da36da.tar.bz2
nnfw-74b3dbd3ded06fd0e09a9ac87562010824da36da.zip
Change variable convention of Make and CMake (#993)
- HOST_OS : Where we are compile (Linux) - TARGET_OS : Where nnfw executable runs (Linux or Tizen or Android) Fix #874 Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/nnfw.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/nnfw.spec b/packaging/nnfw.spec
index c46087457..c6b63a899 100644
--- a/packaging/nnfw.spec
+++ b/packaging/nnfw.spec
@@ -53,10 +53,10 @@ NNFW test rpm. It does not depends on nnfw rpm since it contains nnfw runtime.
cp %{SOURCE1} .
%build
-OBS_BUILD=1 BUILD_TYPE=%{build_type} INSTALL_PATH=%{buildroot}%{install_prefix} TARGET_ARCH=%{target_arch} HOST_OS=tizen make %{?jobs:-j%jobs}
+OBS_BUILD=1 BUILD_TYPE=%{build_type} INSTALL_PATH=%{buildroot}%{install_prefix} TARGET_ARCH=%{target_arch} TARGET_OS=tizen make %{?jobs:-j%jobs}
%install
-OBS_BUILD=1 BUILD_TYPE=%{build_type} INSTALL_PATH=%{buildroot}%{install_prefix} TARGET_ARCH=%{target_arch} HOST_OS=tizen make install
+OBS_BUILD=1 BUILD_TYPE=%{build_type} INSTALL_PATH=%{buildroot}%{install_prefix} TARGET_ARCH=%{target_arch} TARGET_OS=tizen make install
mkdir -p %{buildroot}%{test_install_prefix}
mv %{buildroot}%{install_prefix}/unittest %{buildroot}%{test_install_prefix}
# install tests