From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7B91F1382C5 for ; Mon, 7 Jun 2021 20:44:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA4E1E085B; Mon, 7 Jun 2021 20:44:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90715E085B for ; Mon, 7 Jun 2021 20:44:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 72473340CEA for ; Mon, 7 Jun 2021 20:44:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B52079B for ; Mon, 7 Jun 2021 20:44:31 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1623098643.e2846804da4e52d9aa59d8d0223fe8b57b309e95.slyfox@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: e2846804da4e52d9aa59d8d0223fe8b57b309e95 X-VCS-Branch: master Date: Mon, 7 Jun 2021 20:44:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 11e06547-1662-4477-a200-95963f3a3f61 X-Archives-Hash: ec46a1dd92206cb35b91847051f6d4ab commit: e2846804da4e52d9aa59d8d0223fe8b57b309e95 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jun 7 20:44:03 2021 +0000 Commit: Sergei Trofimovich gentoo 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 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/