Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D0AA7C0015E for ; Thu, 20 Jul 2023 00:01:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9C474868C8; Thu, 20 Jul 2023 01:52:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="PKj+n0uG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0C2B7867D6; Thu, 20 Jul 2023 01:50:55 +0200 (CEST) Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B469086774 for ; Thu, 20 Jul 2023 01:50:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x136.google.com with SMTP id e9e14a558f8ab-34617b29276so3599475ab.0 for ; Wed, 19 Jul 2023 16:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689810646; x=1690415446; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pZczCxANNV6VsrI/HeZ5J/tXxM6tJK00IG6OhSmtF1k=; b=PKj+n0uG9NhlczSLtU35bOrdAxFWcF9buTPdA/2klF7CicDWUqhxRjYTVrtrK+dOpg SZc6IO56weqLRVihu2CbCtzwJfGs97ECgXKpTCLJp7DMc9+ACuYa5/Agxr9GYKO6PYqM wydKpyLaB31DWw5q0ctar7ROIXpOE0QIOqdOg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689810646; x=1690415446; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pZczCxANNV6VsrI/HeZ5J/tXxM6tJK00IG6OhSmtF1k=; b=kDzGkS1QBBTJGU+9nfpIkRLGrPOr6Gbut+WlUQ0S3Yi3wltvW8X9kCEoAtZACQU3tc 8valC3/4jL2aWFoxlDqmoh7i5zDMipfMiLxqqZa5LTq177GZb1RDet3y/1u9KCG0noGl zGO/7n/nTVpnAoZXYluUSmjKFwUUW2tN5TX0eOqgPTSKNxmaN0RZDuHcpTgqRZBG4ZD+ FKHDtUvwtyfGtveOKvEPGhhDJdDdNWOwijKZTiYzT/hEfa6lICEZGRNwAvczg299l5ml T2M8JFuX8jYGOBsrAnhWgOYERSWud9jkifnpOu7xSd0Ov2SgQthAJGEW3ErU0OIVY5Oa tp4A== X-Gm-Message-State: ABy/qLZmiSl5Y/XlufD5Ymd6riNGKiBeESJMpgSyvPoEPtxKUMvGCMcK LQeeUqz+uvs+p+AQBctIzkMsYp0ZLzqPudej2yk= X-Google-Smtp-Source: APBJJlFXtluD7oyEPusd/zZTvp4RsUozBSXHtJNOGdSy3V9rMXudyzY8f1hFE+zS+uLVRolbHpwQ7Q== X-Received: by 2002:a05:6e02:1be6:b0:343:ef5e:8286 with SMTP id y6-20020a056e021be600b00343ef5e8286mr2980936ilv.7.1689810646297; Wed, 19 Jul 2023 16:50:46 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id ed16-20020a056638291000b0042bb1779c18sm1551779jab.151.2023.07.19.16.50.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 16:50:46 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mike Frysinger , Simon Glass Subject: [PATCH v4 63/83] buildman: Correct invalid use of out_dir variable Date: Wed, 19 Jul 2023 17:49:11 -0600 Message-ID: <20230719234953.796101-64-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog In-Reply-To: <20230719234953.796101-1-sjg@chromium.org> References: <20230719234953.796101-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This variable has a different meaning in the outer scope. Use a different name to avoid confusion, or bugs. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Fix 'scrop' typo tools/buildman/builderthread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py index 45ae6edf9f48..f110137e8f6e 100644 --- a/tools/buildman/builderthread.py +++ b/tools/buildman/builderthread.py @@ -246,8 +246,8 @@ class BuilderThread(threading.Thread): # # Symlinks can confuse U-Boot's Makefile since # we may use '..' in our path, so remove them. - out_dir = os.path.realpath(out_dir) - args.append(f'O={out_dir}') + real_dir = os.path.realpath(out_dir) + args.append(f'O={real_dir}') cwd = None src_dir = os.getcwd() else: -- 2.41.0.487.g6d72f3e995-goog