supported architectures, including PPC, ARM, MIPS, x86, m68k, NIOS,
and Microblaze.
-%package -n u-boot-tools
-Summary: Companion tools for Das U-Boot bootloader
-Group: System/Kernel
-Provides: dtc
-
-%description -n u-boot-tools
-This package includes the mkimage program, which allows generation of U-Boot
-images in various formats, and the fw_printenv and fw_setenv programs to read
-and modify U-Boot's environment.
-
%ifarch %{arm}
%global use_mmc_storage 1
%endif
%install
rm -rf %{buildroot}
-# Tools installation
-mkdir -p %{buildroot}%{_bindir}
-install -p -m 0755 tools/mkimage %{buildroot}%{_bindir}
-install -p -m 0755 tools/env/fw_printenv %{buildroot}%{_bindir}
-install -p -m 0755 tools/dtc/dtc %{buildroot}%{_bindir}
-( cd %{buildroot}%{_bindir}; ln -sf fw_printenv fw_setenv )
-
# u-boot installation
mkdir -p %{buildroot}/var/tmp/u-boot
install -d %{buildroot}/var/tmp/u-boot
%manifest u_boot.manifest
%defattr(-,root,root,-)
/var/tmp/u-boot
-
-%files -n u-boot-tools
-%manifest u_boot.manifest
-%defattr(-,root,root,-)
-%{_bindir}/mkimage
-%{_bindir}/fw_printenv
-%{_bindir}/fw_setenv
-%{_bindir}/dtc