Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:derselbst:n64
cross-mips64-elf-binutils
cross-mips64-elf-binutils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cross-mips64-elf-binutils.spec of Package cross-mips64-elf-binutils
%define target mips64-elf Summary: Binutils for the %{target} architecture Name: cross-%{target}-binutils Version: 2.19.51 Release: 0 License: GPL-2.0 Group: Development/Cross URL: http://ftp.gnu.org/gnu/binutils Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description This package contains the binutils that can operate on %{target} programs. %prep %setup -q -n binutils-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/opt/cross --build=`arch`-suse-linux --target=%{target} --with-sysroot=/opt/cross/%{target} \ --with-cpu=mips64vr4300 --disable-werror make all %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install #perl -pi \ # -e "s,SEARCH_DIR.*,SEARCH_DIR(\"/opt/cross/%{target}/lib\");,g;" \ # $RPM_BUILD_ROOT/opt/cross/%{target}/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/%{target}/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