fixup compile error
Signed-off-by: beiling.xie <xiekunxun@huawei.com>
This commit is contained in:
parent
d6bc573e05
commit
794226cb73
18
yaffs2.spec
18
yaffs2.spec
@ -1,11 +1,11 @@
|
|||||||
Name: yaffs2
|
Name: yaffs2
|
||||||
Version:b4celbb
|
Version:b4ce1bb
|
||||||
Release:1
|
Release:1
|
||||||
Summary:an open-source file system for embedded use with NAND and Nor Flash.
|
Summary:an open-source file system for embedded use with NAND and Nor Flash.
|
||||||
|
|
||||||
License:GPLv2
|
License:GPLv2
|
||||||
URL: http://www.alephl.co.uk/gitweb/?p=yaffs2.git;a=summary
|
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
|
Source0:%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc kernel-devel make module-init-tools glibc
|
BuildRequires: gcc kernel-devel make module-init-tools glibc
|
||||||
Requires:kernel
|
Requires:kernel
|
||||||
@ -16,21 +16,9 @@ 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
|
It is widely used with Linux, RTOSs, or no OS at all, in consumer
|
||||||
devices, avionics, or on commercial terms from Aleph one.
|
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
|
%files
|
||||||
%defattr(-,-,-,-)
|
|
||||||
/lib/modules/%{kern_ver}/yaffs2multi.ko
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 2 2022 beiling.xie <xiekunxun@huawei.com> - b4ce1bb-1
|
||||||
* Tue Feb 9 2021 tangchenyang <tangchenyang2@huawei.com> - b4celbb-1
|
* Tue Feb 9 2021 tangchenyang <tangchenyang2@huawei.com> - b4celbb-1
|
||||||
- init
|
- init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user