aboutsummaryrefslogtreecommitdiffhomepage
path: root/Manual.md
diff options
context:
space:
mode:
authorJürgen Buchmüller <pullmoll@t-online.de>2019-08-02 17:30:13 +0200
committerJürgen Buchmüller <pullmoll@t-online.de>2019-08-02 17:34:05 +0200
commit9b3203401d1b78924ac917d21efa31058adc47ef (patch)
tree3ac4fa3e22bfacdfedeb4373b929ef0d5ba28795 /Manual.md
parentkismet: drop unneeded musl patch (diff)
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>
Diffstat (limited to 'Manual.md')
-rw-r--r--Manual.md14
1 files changed, 11 insertions, 3 deletions
diff --git a/Manual.md b/Manual.md
index edd87984c1b..8eeba5fda19 100644
--- a/Manual.md
+++ b/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_WORDSIZE` The machine's word size in bits (32 or 64).
+- `XBPS_ENDIAN` The machine's endianness ("le" for little-endian, "be" for big-endian).
-- `XBPS_SRCDISTDIR` Full path to where the `source distfiles` are stored, i.e `$XBPS_HOSTDIR/sources`.
+- `XBPS_LIBC` The machine's C library ("glibc" for GNU libc, "musl" for Musl libc).
-- `XBPS_SRCPKGDIR` Full path to the `srcpkgs` directory.
+- `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_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.