diff --git a/OpenAMP.spec b/OpenAMP.spec new file mode 100644 index 0000000..21307ea --- /dev/null +++ b/OpenAMP.spec @@ -0,0 +1,60 @@ +Name: openamp +Version: 2021.10.0 +Release: 1 +Summary: Open asymmetric multiprocessing framework + +License: BSD +URL: http://github.com/OpenAMP +Source0: https://github.com/OpenAMP/open-amp/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: libmetal-devel +BuildRequires: libsysfs-devel + +%description +The OpenAMP framework provides software components that enable development of +software applications for Asymmetric Multiprocessing (AMP) systems. + +%package devel +Summary: Development files for OpenAMP +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Development file for OpenAMP +baremetal, and RTOS environments. + +%prep +%autosetup -p1 + +%build +mkdir build +cd build +%cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} \ + -DCMAKE_INCLUDE_PATH=%{_includedir}/libmetal/ \ + -DCMAKE_LIBRARY_PATH=%{_libdir} \ + -DWITH_STATIC_LIB=OFF \ + -DWITH_APPS=OFF .. + + +%install +cd build +%make_install + +%ldconfig_scriptlets + +%files +%license LICENSE.md +%doc README.md +%{_libdir}/libopen_amp.so.1 +%{_libdir}/libopen_amp.so.1.1.0 + +%files devel +%{_includedir}/openamp/ +%{_libdir}/libopen_amp.so + +%changelog + +* Fri Feb 11 2022 Wayne Ren - 2022.10.0-1 +- Package init diff --git a/README.md b/README.md index d5a9c53..fa3eed5 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,24 @@ # OpenAMP #### 介绍 -Open Asymmetirc Multi Processing framework project +本代码仓库主要包含OpenAMP Project相关软件包,包括: + +1. openamp 跨运行时/OS通信框架 + +本代码仓库中软件包主要面向嵌入式场景,主要配合openEuler Embedded使用。和openEuler Embedded +整合通过基于Yocto的[meta-embedded](https://gitee.com/vonhust/yocto-meta-embedded)完成 #### 软件架构 -软件架构说明 +参见上游OpenAMP Project介绍 #### 安装教程 -1. xxxx -2. xxxx -3. xxxx +参见上游OpenAMP Project介绍 #### 使用说明 -1. xxxx -2. xxxx -3. xxxx - +参见上游OpenAMP Project介绍 #### 参与贡献 1. Fork 本仓库 diff --git a/openamp-2021.10.0.tar.gz b/openamp-2021.10.0.tar.gz new file mode 100644 index 0000000..37075e8 Binary files /dev/null and b/openamp-2021.10.0.tar.gz differ