!1 增加OpenAMP相关软件包

From: @vonhust 
Reviewed-by: @beilingxie 
Signed-off-by: @beilingxie
This commit is contained in:
openeuler-ci-bot 2022-02-16 07:16:17 +00:00 committed by Gitee
commit 9c8027c78c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 69 additions and 9 deletions

60
OpenAMP.spec Normal file
View File

@ -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 <renwei41@huawei.com> - 2022.10.0-1
- Package init

View File

@ -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 本仓库

BIN
openamp-2021.10.0.tar.gz Normal file

Binary file not shown.