common/profiles: introduce XBPS_{,TARGET_}WORDSIZE
The host and target word size can be used to determine whether cross compiling certain packages is possible.
This commit is contained in:
parent
fd728ab673
commit
ed4cdadcfd
39 changed files with 49 additions and 27 deletions
|
@ -365,12 +365,16 @@ in this directory such as `${XBPS_BUILDDIR}/${wrksrc}`.
|
|||
|
||||
- `XBPS_MACHINE` The machine architecture as returned by `xbps-uhelper arch`.
|
||||
|
||||
- `XBPS_WORDSIZE` The machine's word size in bits (32 or 64).
|
||||
|
||||
- `XBPS_SRCDISTDIR` Full path to where the `source distfiles` are stored, i.e `$XBPS_HOSTDIR/sources`.
|
||||
|
||||
- `XBPS_SRCPKGDIR` Full path to the `srcpkgs` directory.
|
||||
|
||||
- `XBPS_TARGET_MACHINE` The target machine architecture when cross compiling a package.
|
||||
|
||||
- `XBPS_TARGET_WORDSIZE` The target machine's word size in bits (32 or 64).
|
||||
|
||||
- `XBPS_FETCH_CMD` The utility to fetch files from `ftp`, `http` of `https` servers.
|
||||
|
||||
- `XBPS_WRAPPERDIR` Full path to where xbps-src's wrappers for utilities are stored.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue