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 2F581138334 for ; Wed, 17 Jul 2019 10:39:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60ADDE07FA; Wed, 17 Jul 2019 10:39:06 +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 47E40E07FA for ; Wed, 17 Jul 2019 10:39:06 +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 C5372347E5A for ; Wed, 17 Jul 2019 10:39:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 664FB627 for ; Wed, 17 Jul 2019 10:39:02 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1563359886.8ccaf4101e7a16a92c6654acc9d58e2238e6e689.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_determineargs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 8ccaf4101e7a16a92c6654acc9d58e2238e6e689 X-VCS-Branch: master Date: Wed, 17 Jul 2019 10:39:02 +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: 9508e39c-796a-4ee6-b1f8-25ff603a0f0e X-Archives-Hash: 9989e88ae14a2bf37788215a47bb04ce commit: 8ccaf4101e7a16a92c6654acc9d58e2238e6e689 Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Jul 17 10:38:06 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Jul 17 10:38:06 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=8ccaf410 gen_determineargs.sh: determine_real_args(): Log readings Signed-off-by: Thomas Deutschmann gentoo.org> gen_determineargs.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gen_determineargs.sh b/gen_determineargs.sh index 76c5b0d..7bebea1 100755 --- a/gen_determineargs.sh +++ b/gen_determineargs.sh @@ -244,6 +244,8 @@ determine_real_args() { if [ -z "${ARCH}" ] then gen_die "Was unable to determine machine hardware name using 'uname -m'!" + else + print_info 5 "Read '${ARCH}' from 'uname -m' ..." fi case "${ARCH}" in @@ -276,15 +278,18 @@ determine_real_args() { then gen_die "Failed to determine CBUILD using '${build_cc} -dumpmachine' command!" else + print_info 5 "CBUILD set to '${CBUILD}' ..." CHOST="${CBUILD}" fi unset build_cc - if [ "${CMD_CROSS_COMPILE}" != '' ] + if [ -n "${CMD_CROSS_COMPILE}" ] then CHOST="${CMD_CROSS_COMPILE}" fi + print_info 5 "CHOST set to '${CHOST}' ..." + # Initialize variables BOOTDIR=$(arch_replace "${BOOTDIR}") BOOTDIR=${BOOTDIR%/} # Remove any trailing slash