File x-loader-omap3beagle.spec of Package x-loader-omap3beagle
#
# spec file for package x-loader-omap3beagle
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Texas Instruments Inc
# Nishanth Menon
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: x-loader-omap3beagle
Version: 20111109
Release: 0.0
Summary: The x-loader firmware for the omap3530beagle arm platform
Group: System/Boot
Url: http://gitorious.org/x-loader/x-loader
Source: x-loader-%{version}.tar.bz2
Source300: rpmlintrc
Patch0: 0000-no-Werror.patch
Patch1: x-loader-omap3-return.patch
Patch2: 0001-add-ext2-support.patch
License: GPL-2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %arm
%description
X-Loader is 2nd stage loader loaded by OMAP BootRom to start 3rd stage tool like
U-Boot.
This package contains the firmware for the omap3530beagle arm platform.
%prep
%setup -q -n x-loader
# Any custom patches to be applied on top of mainline x-loader
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
# Any Board specific custom patches to be applied
make CROSS_COMPILE="" omap3530beagle_config
make CROSS_COMPILE="" ift
%install
install -D -m 0755 MLO %{buildroot}/boot/MLO
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/boot/MLO
%doc README
%changelog