profiles: introduce XBPS_{,TARGET_}{ENDIAN,LIBC}
Provide new environment variables for simplifaction of template checks: ...ENDIAN defines the (target) machine's endianness: "le" or "be". ...LIBC defines the (target) machine's C library: "glibc" or "musl". Closes: #13356 Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
0ab586ea43
commit
9b3203401d
39 changed files with 91 additions and 7 deletions
16
Manual.md
16
Manual.md
|
@ -365,16 +365,24 @@ in this directory such as `${XBPS_BUILDDIR}/${wrksrc}`.
|
|||
|
||||
- `XBPS_MACHINE` The machine architecture as returned by `xbps-uhelper arch`.
|
||||
|
||||
- `XBPS_ENDIAN` The machine's endianness ("le" for little-endian, "be" for big-endian).
|
||||
|
||||
- `XBPS_LIBC` The machine's C library ("glibc" for GNU libc, "musl" for Musl libc).
|
||||
|
||||
- `XBPS_WORDSIZE` The machine's word size in bits (32 or 64).
|
||||
|
||||
- `XBPS_TARGET_MACHINE` The target machine architecture when cross compiling a package.
|
||||
|
||||
- `XBPS_TARGET_ENDIAN` The target machine's endiannes ("le" for little-endian, "be" for big-endian).
|
||||
|
||||
- `XBPS_TARGET_LIBC` The target machine's C library ("glibc" for GNU libc, "musl" for Musl libc).
|
||||
|
||||
- `XBPS_TARGET_WORDSIZE` The target 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