yaffs2/yaffs2.spec
Leonamier 42ed8f82e7 add yaffs2.spec
Signed-off-by: Leonamier <tangchenyang2@huawei.com>
2021-02-10 02:28:20 +00:00

37 lines
1.0 KiB
RPMSpec

Name: yaffs2
Version:b4celbb
Release:1
Summary:an open-source file system for embedded use with NAND and Nor Flash.
License:GPLv2
URL: http://www.alephl.co.uk/gitweb/?p=yaffs2.git;a=summary
Source0:http://www.aleohl.co.uk/gitweb/?p=yaffs2.git;a=snapshot;h=%{version};sf=tgz
BuildRequires: gcc kernel-devel make module-init-tools glibc
Requires:kernel
%description
Yaffs is an open-source file system specifically designed to be fast,
robust and suitable for embedded use with NAND and NOR Flash.
It is widely used with Linux, RTOSs, or no OS at all, in consumer
devices, avionics, or on commercial terms from Aleph one.
%prep
%setup
%build
%make_build
%install
mkdir -p %{buildroot}/lib/modules/%{kern_ver}/
cp %{buildroot}/yaffs2-b4celbb/yaffs2multi.ko %{buildroot}/lib/modules/%{kern_ver}/
install -d %{buildroot}/etc/modules-load.d/ %{buildroot}/etc/modprobe.d/
%files
%defattr(-,-,-,-)
/lib/modules/%{kern_ver}/yaffs2multi.ko
%changelog
* Tue Feb 9 2021 tangchenyang <tangchenyang2@huawei.com> - b4celbb-1
- init