Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
ti:omap3:n900
>
u-boot
> u-boot.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File u-boot.spec of Package u-boot
# # u-boot multiplatform specfile # Original Spec file from openmamba project # http://www.openmamba.org/distribution/distromatic.html?tag=devel&pkg=u-boot.source # Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it> # # Copyright (c) 2010 # Texas Instruments Inc # Nishanth Menon # # Build examples: # rpmbuild -ba u-boot.spec --define="CROSS_COMPILE arm-none-linux-gnueabi-" --define="TARGET_BOARD omap4_panda" --define "TARGET_CPU arm" --target="arm" # # Tested targets: # omap4 PandaBoard Name: u-boot Version: 2010.09 Release: MeeGo Summary: Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors Group: System/Boot URL: http://u-boot.sourceforge.net/ Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 License: GPL ExclusiveArch: %{arm} Patch0: 0001-ARMV7-OMAP-Add-new-mmc-driver-compatible-with-CONFIG.patch Patch1: 0002-env_mmc-Fix-broken-build-due-to-set_default_env-chan.patch Patch2: 0003-ARMV7-OMAP4-Use-generic-mmc-driver-on-Panda.patch Patch3: 0004-omap4-board-change-global-data-pointer-to-file-scope.patch Patch4: 0005-mmc-omap-timeout-counter-fix.patch Patch5: 0006-ARMV7-hardfp-build-fix.patch %description Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors. # What image and where should it go to? %define image_install_path boot %define boot_image u-boot.bin %package tools Summary: Tools for the u-boot Firmware Group: System/Boot %description tools 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. %package doc Summary: Documentation for the u-boot Firmware Group: System/Boot Documentation %description doc Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors. This package contains documentation for u-boot firmware %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 sed -i "s|-idirafter|-I|" tools/Makefile %build make omap4_panda_config make all make env %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} install -D -m 0755 tools/mkimage %{buildroot}%{_bindir}/mkimage install -D -m 0644 doc/mkimage.1 %{buildroot}%{_mandir}/man1/mkimage.1 gzip %{buildroot}%{_mandir}/man1/* %files tools %defattr(-,root,root) %{_bindir}/mkimage #%{_bindir}/fw_printenv %{_mandir}/man1/mkimage.1.gz %files doc %defattr(-,root,root) # Generic documents %doc COPYING CREDITS README doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands %doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns %doc doc/README.hwconfig doc/README.nand doc/README.NetConsole doc/README.serial_multi %doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb %doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST doc/README.Modem # Copy some useful kermit scripts as well %doc tools/scripts/dot.kermrc tools/scripts/flash_param tools/scripts/send_cmd tools/scripts/send_image # Now any h/w dependent Documentation %doc doc/README.ARM-SoC doc/README.ARM-memory-map