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:
Jürgen Buchmüller
2019-08-02 17:30:13 +02:00
parent 0ab586ea43
commit 9b3203401d
39 changed files with 91 additions and 7 deletions

View File

@@ -1,4 +1,6 @@
# Cross build profile for ARMv8.
XBPS_TARGET_ENDIAN=le
XBPS_TARGET_LIBC=glibc
XBPS_TARGET_WORDSIZE=64
XBPS_TARGET_MACHINE="aarch64"
XBPS_TARGET_QEMU_MACHINE="aarch64"