commit
5bda8fa620
36
yaffs2.spec
Normal file
36
yaffs2.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
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
|
||||||
Loading…
x
Reference in New Issue
Block a user