]>
Commit | Line | Data |
---|---|---|
ac10ab20 | 1 | Summary: Das U-Boot -- the Universal Boot Loader |
d3dd7cf0 | 2 | Summary(pl.UTF-8): Das U-Boot - uniwersalny bootloader |
ac10ab20 | 3 | Name: uboot |
8ee1e894 | 4 | Version: 2012.10 |
d3dd7cf0 JB |
5 | Release: 1 |
6 | License: GPL v2 | |
ac10ab20 ER |
7 | Group: Applications/System |
8 | Source0: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 | |
8ee1e894 | 9 | # Source0-md5: 8655f63b1e5c4647295ac9ce44660be3 |
3d694d3a | 10 | URL: http://www.denx.de/wiki/U-Boot |
ac10ab20 ER |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
13 | %description | |
14 | Das U-Boot (Universal Bootloader, German for "the submarine") is a | |
15 | boot loader for a number of different computer architectures, | |
16 | including PPC, ARM, AVR32, MIPS, x86, 68k, Nios, and MicroBlaze. | |
17 | ||
d3dd7cf0 JB |
18 | %description -l pl.UTF-8 |
19 | Das U-Boot (Universal Bootloader lub "łódź podwodna" po niemiecku) to | |
20 | bootloader dla wielu różnych architektur komputerów, w tym PPC, ARM, | |
8ee1e894 | 21 | AVR32, MIPS, x86, 68k, Nios i MicroBlaze. |
d3dd7cf0 | 22 | |
ac10ab20 ER |
23 | %package mkimage |
24 | Summary: Generate kernel image for U-Boot | |
d3dd7cf0 | 25 | Summary(pl.UTF-8): Generowanie obrazu jądra dla U-Boota |
ac10ab20 ER |
26 | Group: Applications/System |
27 | ||
28 | %description mkimage | |
29 | This package contains the mkimage utility, which encapsulates a | |
d3dd7cf0 JB |
30 | compressed "uImage" Linux kernel image with header information, CRC32 |
31 | checksum, etc., for use with the U-Boot bootloader. | |
ac10ab20 ER |
32 | |
33 | mkimage can also be used to create ramdisk images for use with U-Boot, | |
34 | either separated from the Linux kernel image, or combined into one | |
35 | file. mkimage encapsulates the images with a 64 byte header containing | |
36 | information about target architecture, operating system, image type, | |
37 | compression method, entry points, time stamp, CRC32 checksums, etc. | |
38 | ||
d3dd7cf0 JB |
39 | %description mkimage -l pl.UTF-8 |
40 | Ten pakiet zawiera narzędzie mkimage, łączące skompresowany obraz | |
41 | jądra Linuksa "uImage" w nagłówkiem, sumą kontrolną CRC32 itp. do | |
42 | wykorzystania przez bootloader U-Boot. | |
43 | ||
44 | mkimage może być używane także do tworzenia obrazów ramdysków do | |
45 | wykorzystania przez U-Boota - osobnych w stosunku do obrazu jądra | |
46 | lub połączonych w jeden plik. mkimage obudowuje obrazy w 64-bajtowy | |
47 | nagłówek zawierający informacje o architekturze docelowej, systemie | |
48 | operacyjnym, rodzaju obrazu, metodzie kompresji, punktach wejściowych, | |
49 | czasie 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 | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | install -d $RPM_BUILD_ROOT%{_bindir} | |
c7c7eeb7 | 68 | |
d3dd7cf0 | 69 | install tools/mkimage $RPM_BUILD_ROOT%{_bindir} |
ac10ab20 ER |
70 | |
71 | %clean | |
72 | rm -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 |