xbps-src: print supported cross targets by inspecting the cross-profiles dir.
This commit is contained in:
parent
97bfe44ebe
commit
472bf5092a
21
xbps-src
21
xbps-src
|
@ -1,6 +1,13 @@
|
|||
#!/bin/bash
|
||||
# vim: set ts=4 sw=4 et:
|
||||
|
||||
print_cross_targets() {
|
||||
local f
|
||||
for f in common/cross-profiles/*.sh; do
|
||||
f=${f%.sh}; f=${f##*/}; printf "\t$f\n"
|
||||
done
|
||||
}
|
||||
|
||||
usage() {
|
||||
cat << _EOF
|
||||
$(basename $0): [options] <target> [arguments]
|
||||
|
@ -114,19 +121,9 @@ zap
|
|||
Options:
|
||||
|
||||
-a <profile>
|
||||
Cross compile packages for this profile. Supported values:
|
||||
Cross compile packages for this profile. Supported targets:
|
||||
|
||||
aarch64-musl - for ARM64 (LE Hard Float) Musl/Linux
|
||||
aarch64 - for ARM64 (LE Hard Float) GNU/Linux
|
||||
armv5te - for ARMv5 (LE Soft Float) GNU/Linux
|
||||
armv6hf-musl - for ARMv6 EABI (LE Hard Float) Musl/Linux
|
||||
armv6hf - for ARMv6 EABI (LE Hard Float) GNU/Linux
|
||||
armv7hf-musl - for ARMv7 EABI (LE Hard Float) Musl/Linux
|
||||
armv7hf - for ARMv7 EABI (LE Hard Float) GNU/Linux
|
||||
i686-musl - for i686 Musl/Linux
|
||||
i686 - for i686 GNU/Linux
|
||||
mips-musl - for MIPS32 r2 (BE Soft Float) Musl/Linux
|
||||
x86_64-musl - for x86_64 Musl/Linux
|
||||
$(print_cross_targets)
|
||||
|
||||
-C Do not remove build directory, automatic dependencies and
|
||||
package destdir after successful install.
|
||||
|
|
Loading…
Reference in New Issue