]>
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 |
a8e648b0 | 4 | Version: 2013.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 | |
a8e648b0 | 9 | # Source0-md5: a076a044b64371edc52f7e562b13f6b2 |
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 | |
c7c7eeb7 | 55 | %{__make} tools \ |
d3dd7cf0 JB |
56 | HOSTCC="%{__cc}" \ |
57 | HOSTSTRIP=: \ | |
59931f1b | 58 | HOST_CFLAGS="%{rpmcflags}" \ |
59 | HOST_LDFLAGS="%{rpmldflags}" \ | |
c7c7eeb7 | 60 | BIN_FILES="bmp_logo gen_eth_addr img2srec mkimage" |
ac10ab20 ER |
61 | |
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | install -d $RPM_BUILD_ROOT%{_bindir} | |
c7c7eeb7 | 65 | |
d3dd7cf0 | 66 | install tools/mkimage $RPM_BUILD_ROOT%{_bindir} |
ac10ab20 ER |
67 | |
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
a8e648b0 | 73 | %doc CREDITS README |
ac10ab20 ER |
74 | |
75 | %files mkimage | |
76 | %defattr(644,root,root,755) | |
77 | %attr(755,root,root) %{_bindir}/mkimage |