2 Summary: Bootloader for Embedded boards based on ARM processor
8 URL: http://www.denx.de/wiki/U-Boot
9 Source0: %{name}-%{version}.tar.bz2
10 Source1001: packaging/u-boot-tm1.manifest
13 bootloader for Embedded boards based on ARM processor
15 %package -n u-boot-tm1
16 Summary: A bootloader for Embedded system
19 %description -n u-boot-tm1
20 A boot loader for embedded systems.
21 Das U-Boot is a cross-platform bootloader for embedded systems,
22 used as the default boot loader by several board vendors. It is
23 intended to be easy to port and to debug, and runs on many
24 supported architectures, including PPC, ARM, MIPS, x86, m68k, NIOS,
28 %global use_mmc_storage 1
35 %{?asan:/usr/bin/gcc-unforce-options}
40 make %{?_smp_mflags} HOSTCC="gcc $RPM_OPT_FLAGS" HOSTSTRIP=/bin/true tools
42 %if 1%{?use_mmc_storage}
43 make %{?_smp_mflags} HOSTCC="gcc $RPM_OPT_FLAGS" CONFIG_ENV_IS_IN_MMC=y env
45 make %{?_smp_mflags} HOSTCC="gcc $RPM_OPT_FLAGS" env
48 export PATH="$PATH:tools"
49 make %{?_smp_mflags} EXTRAVERSION=`echo %{vcs} | sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/'`
51 # Sign u-boot-multi.bin - output is: u-boot-mmc.bin
52 chmod 755 tools/mkimage_signed.sh
53 mkimage_signed.sh u-boot.bin "tizen_tm1"
59 mkdir -p %{buildroot}/boot/u-boot
60 install -d %{buildroot}/boot/u-boot
61 install -m 755 u-boot.bin %{buildroot}/boot/u-boot
62 install -m 755 u-boot-mmc.bin %{buildroot}/boot/u-boot
67 %manifest u-boot-tm1.manifest
68 %defattr(-,root,root,-)