Name: u-boot-tools Version: 1.3.3 Release: 2%{?dist} Summary: U-boot tools Group: System Environment/Base License: GPLv2 URL: http://www.denx.de/wiki/UBoot Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 BuildRoot: (%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description 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. %prep %setup -q -n u-boot-%{version} %ifarch ppc ppc64 make MPC8544DS_config %endif %ifarch x86_64 i386 make sc520_cdp_config %endif %build make %{?_smp_mflags} tools %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/sbin cp tools/mkimage $RPM_BUILD_ROOT/usr/sbin/mkimage %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %attr(755,root,root) /usr/sbin/mkimage %changelog * Fri Aug 08 2008 Kumar Gala - Updated BuildRoot * Wed May 28 2008 Kumar Gala - Initial packaging