]> git.pld-linux.org Git - packages/uboot.git/blame - uboot.spec
- up to 2012.10
[packages/uboot.git] / uboot.spec
CommitLineData
ac10ab20 1Summary: Das U-Boot -- the Universal Boot Loader
d3dd7cf0 2Summary(pl.UTF-8): Das U-Boot - uniwersalny bootloader
ac10ab20 3Name: uboot
8ee1e894 4Version: 2012.10
d3dd7cf0
JB
5Release: 1
6License: GPL v2
ac10ab20
ER
7Group: Applications/System
8Source0: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
8ee1e894 9# Source0-md5: 8655f63b1e5c4647295ac9ce44660be3
3d694d3a 10URL: http://www.denx.de/wiki/U-Boot
ac10ab20
ER
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14Das U-Boot (Universal Bootloader, German for "the submarine") is a
15boot loader for a number of different computer architectures,
16including PPC, ARM, AVR32, MIPS, x86, 68k, Nios, and MicroBlaze.
17
d3dd7cf0
JB
18%description -l pl.UTF-8
19Das U-Boot (Universal Bootloader lub "łódź podwodna" po niemiecku) to
20bootloader dla wielu różnych architektur komputerów, w tym PPC, ARM,
8ee1e894 21AVR32, MIPS, x86, 68k, Nios i MicroBlaze.
d3dd7cf0 22
ac10ab20
ER
23%package mkimage
24Summary: Generate kernel image for U-Boot
d3dd7cf0 25Summary(pl.UTF-8): Generowanie obrazu jądra dla U-Boota
ac10ab20
ER
26Group: Applications/System
27
28%description mkimage
29This package contains the mkimage utility, which encapsulates a
d3dd7cf0
JB
30compressed "uImage" Linux kernel image with header information, CRC32
31checksum, etc., for use with the U-Boot bootloader.
ac10ab20
ER
32
33mkimage can also be used to create ramdisk images for use with U-Boot,
34either separated from the Linux kernel image, or combined into one
35file. mkimage encapsulates the images with a 64 byte header containing
36information about target architecture, operating system, image type,
37compression method, entry points, time stamp, CRC32 checksums, etc.
38
d3dd7cf0
JB
39%description mkimage -l pl.UTF-8
40Ten pakiet zawiera narzędzie mkimage, łączące skompresowany obraz
41jądra Linuksa "uImage" w nagłówkiem, sumą kontrolną CRC32 itp. do
42wykorzystania przez bootloader U-Boot.
43
44mkimage może być używane także do tworzenia obrazów ramdysków do
45wykorzystania przez U-Boota - osobnych w stosunku do obrazu jądra
46lub połączonych w jeden plik. mkimage obudowuje obrazy w 64-bajtowy
47nagłówek zawierający informacje o architekturze docelowej, systemie
48operacyjnym, rodzaju obrazu, metodzie kompresji, punktach wejściowych,
49czasie utworzenia, sumach kontrolnych CRC32 itp.
50
ac10ab20
ER
51%prep
52%setup -q -n u-boot-%{version}
ac10ab20
ER
53
54%build
d3dd7cf0
JB
55# workaround: use some valid i386 machine config
56%{__make} eNET_config
c7c7eeb7
AM
57
58%{__make} tools \
d3dd7cf0
JB
59 HOSTCC="%{__cc}" \
60 HOSTSTRIP=: \
59931f1b 61 HOST_CFLAGS="%{rpmcflags}" \
62 HOST_LDFLAGS="%{rpmldflags}" \
c7c7eeb7 63 BIN_FILES="bmp_logo gen_eth_addr img2srec mkimage"
ac10ab20
ER
64
65%install
66rm -rf $RPM_BUILD_ROOT
67install -d $RPM_BUILD_ROOT%{_bindir}
c7c7eeb7 68
d3dd7cf0 69install tools/mkimage $RPM_BUILD_ROOT%{_bindir}
ac10ab20
ER
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files
75%defattr(644,root,root,755)
ac10ab20 76# COPYING contains some extra note
d3dd7cf0 77%doc COPYING CREDITS MAINTAINERS README
ac10ab20
ER
78
79%files mkimage
80%defattr(644,root,root,755)
81%attr(755,root,root) %{_bindir}/mkimage
This page took 0.120587 seconds and 4 git commands to generate.