commit: e2846804da4e52d9aa59d8d0223fe8b57b309e95 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Mon Jun 7 20:44:03 2021 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Mon Jun 7 20:44:03 2021 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=e2846804
crossdev: make 'crossdev -t help' a single column output Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> crossdev | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/crossdev b/crossdev index 39924aa..3d18e3c 100755 --- a/crossdev +++ b/crossdev @@ -99,7 +99,7 @@ Extra Fun (must be run after above stages): ${GOOD}--ex-gdb${NORMAL} Build a cross gdb ${GOOD}--ex-pkg${NORMAL} pkg Build extra packages (may be used multiple times) -${BRACKET}Target (-t)${NORMAL} takes a tuple ${BRACKET}ARCH-VENDOR-OS-LIBC${NORMAL}; see 'crossdev -t help' +${BRACKET}Target (-t)${NORMAL} takes a tuple ${BRACKET}ARCHITECTURE-VENDOR-OS-LIBC${NORMAL}; see 'crossdev -t help' EOF [[ -n $* ]] && echo && eerror "Error: $*" exit ${exit_status} @@ -125,23 +125,30 @@ parse_target() { if [[ ${CTARGET} == "help" ]] ; then cat <<-EOF - Supported Architectures: - - alpha - arm / armeb / aarch64 - - hppa (parisc) - ia64 - - i386 / i486 / i586 / i686 (x86) - m68k + Target (-t) takes a tuple ARCHITECTURE-VENDOR-OS-LIBC: + + Supported Architectures (ARCHITECTURE): + - alpha + - arm / armeb / aarch64 + - hppa (parisc) + - ia64 + - i386 / i486 / i586 / i686 (x86) + - m68k - mips / mipsel / mips64 / mips64el - or1k - powerpc (ppc) / powerpc64 (ppc64) - riscv32 / riscv64 - - sparc / sparc64 - s390 / s390x - - sh / sh[1-5] / sh64 - x86_64 (amd64) - Supported C Libraries: + - sparc / sparc64 + - s390 / s390x + - sh / sh[1-5] / sh64 + - x86_64 (amd64) + Supported C Libraries (LIBC): - glibc (gnu) - klibc [prob wont work] - musl - newlib [bare metal/no operating system] - uclibc [not all arches are ported] - Special Targets: + Special Targets (full tuple): - avr http://www.nongnu.org/avr-libc/ - bfin http://blackfin.uclinux.org/ - h8300 http://h8300-hms.sourceforge.net/