fix fw_printenv installation in bindir [release 2024.01-2mamba;Wed Feb 14 2024]

This commit is contained in:
Silvan Calarco 2024-02-15 10:10:34 +01:00
parent 95a9718e73
commit 50c28d535f

View File

@ -10,13 +10,13 @@
Name: u-boot Name: u-boot
Version: 2024.01 Version: 2024.01
Release: 1mamba Release: 2mamba
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: https://www.denx.de/wiki/U-Boot/WebHome URL: https://docs.u-boot.org/en/latest/
Source: https://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 Source: https://ftp.denx.de/pub/u-boot/u-boot-%{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
@ -76,7 +76,7 @@ CROSS_COMPILE=%{_target_platform}- make all
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
for f in {mk{,env}image,env/fw_printenv,img2srec,dumpimage,netconsole,jtagconsole,ncb,kwboot}; do 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} install -D -m 0755 tools/${f} %{buildroot}%{_bindir}/`basename ${f}`
done done
for f in {mkimage,dumpimage,kwboot}; do for f in {mkimage,dumpimage,kwboot}; do
@ -101,7 +101,7 @@ 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}/dumpimage
%{_bindir}/env/fw_printenv %{_bindir}/fw_printenv
%{_bindir}/img2srec %{_bindir}/img2srec
%{_bindir}/jtagconsole %{_bindir}/jtagconsole
%{_bindir}/kwboot %{_bindir}/kwboot
@ -115,6 +115,9 @@ install -D -m 0644 u-boot.map %{buildroot}/boot/u-boot-%{TARGET_BOARD}.map
%doc Licenses %doc Licenses
%changelog %changelog
* Wed Feb 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2024.01-2mamba
- fix fw_printenv installation in bindir
* Tue Feb 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2024.01-1mamba * Tue Feb 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2024.01-1mamba
- update to 2024.01 - update to 2024.01