diff options
author | 오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com> | 2019-07-12 11:39:21 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2019-07-12 11:39:21 +0900 |
commit | f79998d488f6943c897e6214baa3661f40f3cf8c (patch) | |
tree | d9020135dbc87957e7a0a794e8937e814169c0b8 /packaging | |
parent | 90b0552a5fd4509338d01691792b0c972e802506 (diff) | |
download | nnfw-f79998d488f6943c897e6214baa3661f40f3cf8c.tar.gz nnfw-f79998d488f6943c897e6214baa3661f40f3cf8c.tar.bz2 nnfw-f79998d488f6943c897e6214baa3661f40f3cf8c.zip |
Copy template makefile in standalone scripts (#5618)
* Copy template makefile in standalone scripts
Make Makefile by copying Makefile.template with -nv option and build in standalone scripts and nnfw.spec
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Fix command
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/nnfw.spec | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/nnfw.spec b/packaging/nnfw.spec index 76a53df8f..4837ac6d4 100644 --- a/packaging/nnfw.spec +++ b/packaging/nnfw.spec @@ -64,12 +64,13 @@ tar -xf %{SOURCE1001} %build %ifarch arm armv7l aarch64 -%{build_options} make -f Makefile.template %{?jobs:-j%jobs} all +cp -v Makefile.template Makefile +%{build_options} make %{?jobs:-j%jobs} all %endif %install %ifarch arm armv7l aarch64 -%{build_options} make -f Makefile.template install +%{build_options} make install %ifarch aarch64 mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir} @@ -89,7 +90,7 @@ cp -rf ./tests/framework %{buildroot}%{test_install_prefix}/framework mkdir -p %{buildroot}%{test_install_prefix}/tools cp -rf ./tests/scripts %{buildroot}%{test_install_prefix}/tools %else -%{build_options} make -f Makefile.template build_coverage_suite +%{build_options} make build_coverage_suite mkdir -p %{buildroot}%{test_install_prefix} cp -rf Product/out/coverage-suite.tar.gz %{buildroot}%{test_install_prefix}/. tar -zxf %{buildroot}%{test_install_prefix}/coverage-suite.tar.gz -C %{buildroot}%{test_install_prefix} |