Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:neofoxx
binutils-mipsel-elf
binutils-mipsel-elf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File binutils-mipsel-elf.spec of Package binutils-mipsel-elf
%define my_prefix /usr %define my_target mipsel-elf %define my_build_dir build-binutils # For reference: https://build.opensuse.org/package/view_file/home:duwe:crosstools2/binutils/binutils.spec?expand=0 Name: binutils-%{my_target} Version: 2.34 Release: 1%{?dist} Summary: Binutils package built for mipsel-elf crosscompiling License: GPL-3.0 URL: https://www.gnu.org/software/binutils/ Source0: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.gz BuildRequires: file, gawk, texinfo #Requires: %description A package of binutils for the %{my_target} target, intended for crosscompiling. %prep # %%autosetup is equal to setup -q, and then patches (many) # -> Unpackes original source in preparation for build. %setup -q -n binutils-%{version} %build # %%make_build macro is equivalent to make %{?_smp_mflags} # Any commented (multiline) macros need a % in front of them >< # NB!, current location gets reset to beginning mkdir -p %{my_build_dir} cd %{my_build_dir} ../configure --target=%{my_target} --prefix=%{my_prefix} make %{?_smp_mflags} %install # %%make_install macro is equivalent to make install DESTDIR="%{?buildroot}" rm -rf $RPM_BUILD_ROOT make -C %{my_build_dir} DESTDIR="%{buildroot}" install rm -rf $RPM_BUILD_ROOT%{my_prefix}/share/locale rm -rf $RPM_BUILD_ROOT%{my_prefix}/share/info rm -rf $RPM_BUILD_ROOT%{my_prefix}/share/man/man1 rm -rf $RPM_BUILD_ROOT%{my_prefix}/share/man rm -rf $RPM_BUILD_ROOT%{my_prefix}/share %files %defattr(-,root,root,-) %{my_prefix}/bin/* %{my_prefix}/mipsel-elf %changelog * Tue Jun 09 2020 Primož Kranjec <kranjec.primoz@gmail.com> - Initial build of binutils 2.34 for mipsel-elf.
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