Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alsoft:LFS
binutils
build_cross_binutils.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File build_cross_binutils.sh of Package binutils
#!/bin/sh RPM_TOP_DIR=${RPM_TOP_DIR=$(rpm --eval %_topdir)} specfile=$1 [[ -z "$specfile" ]] && { echo "ERROR: undefined specfile"; exit 1; } ARCH=$2 [[ -z "$ARCH" ]] && { echo "ERROR: undefined architecture"; exit 1; } SPECFILE=$RPM_TOP_DIR/SPECS/cross-$ARCH-$specfile cat - $specfile > $SPECFILE << EOF ## ## This a generated specfile from ${specfile##*/} ## %define cross $ARCH ## EOF exec rpm -ba $SPECFILE
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