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
+1 -1
View File
@@ -4,7 +4,7 @@ CROSS PROFILES
This directory contains cross profiles to allow cross compilation for the specified target.
A cross profile file must provide the following variables:
- XBPS_TARGET_ARCH (as returned by uname -m)
- XBPS_TARGET_MACHINE (as returned by uname -m + optional -musl suffix)
- XBPS_CROSS_TRIPLET (the cross compiler triplet)
- XBPS_CROSS_CFLAGS (C compiler flags for the cross compiler)
- XBPS_CROSS_CXXFLAGS (C++ compiler flags for the cross compiler)