update to 2024.01 [release 2024.01-1mamba;Tue Feb 13 2024]
This commit is contained in:
parent
29b7e6038b
commit
95a9718e73
55
u-boot.spec
55
u-boot.spec
@ -1,6 +1,4 @@
|
|||||||
#
|
|
||||||
# u-boot multiplatform specfile
|
# u-boot multiplatform specfile
|
||||||
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
||||||
#
|
#
|
||||||
# Build examples:
|
# Build examples:
|
||||||
# rpmbuild -ba u-boot.spec --define="TARGET_BOARD pxa255_idp" --target="arm"
|
# rpmbuild -ba u-boot.spec --define="TARGET_BOARD pxa255_idp" --target="arm"
|
||||||
@ -11,22 +9,25 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: u-boot
|
Name: u-boot
|
||||||
Version: 2009.11.1
|
Version: 2024.01
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors
|
Summary: Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://u-boot.sourceforge.net/
|
URL: https://www.denx.de/wiki/U-Boot/WebHome
|
||||||
Source: ftp://ftp.denx.de/pub/u-boot/%{name}-%{version}.tar.bz2
|
Source: https://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
|
||||||
#Source: http://surfnet.dl.sourceforge.net/sourceforge/u-boot/%{name}-%{version}.tar.bz2
|
|
||||||
Patch0: u-boot-1.1.4-pxa255_idp.patch
|
Patch0: u-boot-1.1.4-pxa255_idp.patch
|
||||||
Patch1: u-boot-1.1.6-phycore-pxa270-4.diff
|
Patch1: u-boot-1.1.6-phycore-pxa270-4.diff
|
||||||
Patch2: u-boot-1.1.6-mainstone.patch
|
Patch2: u-boot-1.1.6-mainstone.patch
|
||||||
Patch3: u-boot-1.1.6-mainstone_rr.patch
|
Patch3: u-boot-1.1.6-mainstone_rr.patch
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libncurses-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
License: GPL
|
License: GPL
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
|
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
|
||||||
@ -50,16 +51,14 @@ Group: System/Kernel and Hardware
|
|||||||
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
|
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
|
||||||
This package contains mkimage, a tool that creates kernel bootable images for u-boot.
|
This package contains mkimage, a tool that creates kernel bootable images for u-boot.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%if "%{?TARGET_BOARD}"
|
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%endif
|
|
||||||
sed -i "s|-idirafter|-I|" tools/Makefile
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
make defconfig
|
||||||
|
|
||||||
%if "%{?TARGET_BOARD}"
|
%if "%{?TARGET_BOARD}"
|
||||||
%if "%{?TARGET_BOARD}" == "mainstone_rr"
|
%if "%{?TARGET_BOARD}" == "mainstone_rr"
|
||||||
patch -p1 < %{PATCH3}
|
patch -p1 < %{PATCH3}
|
||||||
@ -70,14 +69,20 @@ sed -i "s|-idirafter|-I|" tools/Makefile
|
|||||||
CROSS_COMPILE=%{_target_platform}- make all
|
CROSS_COMPILE=%{_target_platform}- make all
|
||||||
%else
|
%else
|
||||||
# configure for a fictituous target (only tools will be build)
|
# configure for a fictituous target (only tools will be build)
|
||||||
%make TQM850L_config
|
%make tools-all
|
||||||
%make CC=%{_target_platform}-gcc tools
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
install -D -m 0755 tools/mkimage %{buildroot}%{_bindir}/mkimage
|
|
||||||
#install -d -m 0755 tools/img2srec %{buildroot}%{_bindir}/img2srec
|
for f in {mk{,env}image,env/fw_printenv,img2srec,dumpimage,netconsole,jtagconsole,ncb,kwboot}; do
|
||||||
|
install -D -m 0755 tools/${f} %{buildroot}%{_bindir}/${f}
|
||||||
|
done
|
||||||
|
|
||||||
|
for f in {mkimage,dumpimage,kwboot}; do
|
||||||
|
install -D -m 0644 doc/${f}.1 %{buildroot}%{_mandir}/man1/${f}.1
|
||||||
|
done
|
||||||
|
|
||||||
%if "%{?TARGET_BOARD}"
|
%if "%{?TARGET_BOARD}"
|
||||||
install -D -m 0755 u-boot.bin %{buildroot}/boot/u-boot-%{TARGET_BOARD}.bin
|
install -D -m 0755 u-boot.bin %{buildroot}/boot/u-boot-%{TARGET_BOARD}.bin
|
||||||
install -D -m 0644 u-boot.map %{buildroot}/boot/u-boot-%{TARGET_BOARD}.map
|
install -D -m 0644 u-boot.map %{buildroot}/boot/u-boot-%{TARGET_BOARD}.map
|
||||||
@ -95,10 +100,24 @@ install -D -m 0644 u-boot.map %{buildroot}/boot/u-boot-%{TARGET_BOARD}.map
|
|||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/dumpimage
|
||||||
|
%{_bindir}/env/fw_printenv
|
||||||
|
%{_bindir}/img2srec
|
||||||
|
%{_bindir}/jtagconsole
|
||||||
|
%{_bindir}/kwboot
|
||||||
|
%{_bindir}/mkenvimage
|
||||||
%{_bindir}/mkimage
|
%{_bindir}/mkimage
|
||||||
%doc COPYING CREDITS README
|
%{_bindir}/ncb
|
||||||
|
%{_bindir}/netconsole
|
||||||
|
%{_mandir}/man1/dumpimage.1*
|
||||||
|
%{_mandir}/man1/kwboot.1*
|
||||||
|
%{_mandir}/man1/mkimage.1*
|
||||||
|
%doc Licenses
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2024.01-1mamba
|
||||||
|
- update to 2024.01
|
||||||
|
|
||||||
* Wed Mar 31 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2009.11.1-1mamba
|
* Wed Mar 31 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2009.11.1-1mamba
|
||||||
- update to 2009.11.1
|
- update to 2009.11.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user