cross-profiles: simplify and rename some of them to match XBPS_TARGET_MACHINE.

- XBPS_TARGET_ARCH var renamed to XBPS_TARGET_MACHINE (gets rid of an extra var).
- Renamed cross profiles to match XBPS_TARGET_MACHINE.
- Added symlinks to keep compatibility with old profiles.
This commit is contained in:
Juan RP 2016-04-27 16:47:05 +02:00
parent 2269952b63
commit b722ed3c8b
25 changed files with 62 additions and 57 deletions

View file

@ -57,7 +57,7 @@ bulk_build() {
if [ "$XBPS_CROSS_BUILD" ]; then
source ${XBPS_COMMONDIR}/cross-profiles/${XBPS_CROSS_BUILD}.sh
export XBPS_ARCH=${XBPS_TARGET_ARCH}
export XBPS_ARCH=${XBPS_TARGET_MACHINE}
fi
if ! command -v xbps-checkvers &>/dev/null; then
msg_error "xbps-src: cannot find xbps-checkvers(8) command!\n"