Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:derselbst:branches:home:duwe:crosstools
cross-mips64-linux-binutils
cross-template-binutils.spec.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cross-template-binutils.spec.in of Package cross-mips64-linux-binutils
Summary: Binutils for the @@template@@ architecture Name: cross-@@template@@-binutils Version: 2.21.1 Release: 0 License: GPLv2 Group: Development/Cross URL: http://ftp.gnu.org/gnu/binutils # BuildRequires: cross-@@template@@-kernel-headers Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2 # Re-generate this specfile using # sed -e 's,@template@,@@template@@,g' Source1: cross-template-binutils.spec.in Source2: regen.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description This package contains the binutils that can operate on @@template@@ programs. Architectures supported so far include: arm-linux-gnueabi ppc-linux-gnueabi mips-linux %prep %setup -q -n binutils-%{version} %build ./configure --prefix=/opt/cross --build=`arch`-suse-linux --target=@@template@@ --with-sysroot=/opt/cross/@@template@@ make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install perl -pi \ -e "s,SEARCH_DIR.*,SEARCH_DIR(\"/opt/cross/@@template@@/lib\");,g;" \ $RPM_BUILD_ROOT/opt/cross/@@template@@/lib/ldscripts/* rm -rf $RPM_BUILD_ROOT/opt/cross/info $RPM_BUILD_ROOT/opt/cross/lib*/libiberty.a rm -rf $RPM_BUILD_ROOT/opt/cross/man $RPM_BUILD_ROOT/opt/cross/share/locale rm -rf $RPM_BUILD_ROOT/opt/cross/share/info/dir # Try to not put build platform binaries into the proposed target root. # unfortunately some Makefiles depend on this. #rm -rf $RPM_BUILD_ROOT/opt/cross/@@template@@/bin/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /opt/cross %changelog * Mon Apr 20 2009 Torsten Duwe <duwe@suse.de> - kernel-headers - Initial build.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor