From 31d1678c43f54947912685e1d0196b0948634f01 Mon Sep 17 00:00:00 2001 From: saarloos <9090-90-90-9090@163.com> Date: Tue, 9 Aug 2022 15:49:58 +0800 Subject: [PATCH] spec: Synchronous embedded compilation and packaging options Synchronous embedded compilation and packaging options Signed-off-by: saarloos <9090-90-90-9090@163.com> --- OpenAMP.spec | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/OpenAMP.spec b/OpenAMP.spec index a463908..155d82a 100644 --- a/OpenAMP.spec +++ b/OpenAMP.spec @@ -1,6 +1,6 @@ Name: openamp Version: 2022.04.0 -Release: 1 +Release: 2 Summary: Open asymmetric multiprocessing framework License: BSD-3-Clause @@ -25,6 +25,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Development file for OpenAMP baremetal, and RTOS environments. +%package demos +Summary: Demos for OpenAMP +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description demos +Demos for OpenAMP +baremetal, and RTOS environments. + %prep %autosetup -p1 @@ -34,8 +42,10 @@ cd build %cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} \ -DCMAKE_INCLUDE_PATH=%{_includedir}/libmetal/ \ -DCMAKE_LIBRARY_PATH=%{_libdir} \ + -DMACHINE=generic \ -DWITH_STATIC_LIB=OFF \ - -DWITH_APPS=OFF .. + -DWITH_PROXY=ON \ + -DWITH_APPS=ON .. %install @@ -47,14 +57,19 @@ cd build %files %license LICENSE.md %doc README.md -%{_libdir}/libopen_amp.so.1 -%{_libdir}/libopen_amp.so.1.2.0 +%{_libdir}/*.so* %files devel %{_includedir}/openamp/ %{_libdir}/libopen_amp.so +%files demos +%{_bindir}/*-shared + %changelog +* Tue Aug 9 2022 zhangziyang - 2022.04.0-2 +- synchronous embedded compilation and packaging options + * Thu Jun 30 2022 luojects - 2022.04.0-1 - update to 2022.04.0 -- Gitee