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 48CFBC0015E for ; Sun, 16 Jul 2023 00:47:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9E9AC866E8; Sun, 16 Jul 2023 02:40:22 +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="nuAPZ4C1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8B6C7863F0; Sun, 16 Jul 2023 02:38:29 +0200 (CEST) Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 918678639E for ; Sun, 16 Jul 2023 02:38:07 +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-io1-xd35.google.com with SMTP id ca18e2360f4ac-7836164a08aso162925039f.1 for ; Sat, 15 Jul 2023 17:38:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689467886; x=1692059886; 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=EzwZg8mzCr+Rh4PN6ZpcwkMJ4gtQHR794HXoGXeFEr0=; b=nuAPZ4C1VarieyPU/zV+7tL9ah+hYUJEkks0Qt51yFziytdY3ydnxBd8gsxuwHJWLL 3DJhBGI4/De0Q6esk7rHcM1F9g2Hjg0TgwNFynuzvpZLiHn1Gp7YxN/luD4//RDH85BM ItKAaa+OTHtpe7Mtzp8j4vfQTSbeZhfLYjk5c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689467886; x=1692059886; 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=EzwZg8mzCr+Rh4PN6ZpcwkMJ4gtQHR794HXoGXeFEr0=; b=PCoV7+2QOMIRJGFDi1tBYNYjdm1c4e5Ir0wEc/XL5g5cWm4vcDdHeBJar0JMtzFeu+ NSEKXCp6vfh5PNm6RgPkP8gpGXFQ3wA4DjDgVNKtqAzCg/X/qg2Thk7t2fUmgvJ6Bzl6 LQQ1n5GJ3m1TAbFARftK/oDdfnnEnhjUjia66Z3O/HJO57ACYtt5Kj/mAQpkUWnuaC0d pMBTSUY9HQRsTE9IQ20OFDik7zDHmBGk8/sqoKaB7aN6e1T6tgfo+f21JKXJPKdoqGr4 Ry1g7ImrYvdYBs4K6GT7aTyqTlCoDnATcESBLOJTuXl9mw6nUW22BmNcd2OQXYNnvhL/ 4DLA== X-Gm-Message-State: ABy/qLb2P7ADIaeHzKu/AMQReR/npccYfC2id0g9yeAOpDPPuU/wzwEK P2+mn11tNaQY5da7hv2VUlFgOkiE1dk4Ql/VIMM= X-Google-Smtp-Source: APBJJlHjQowRa30KL5F0pWddDcaSXMq6FwvFZTUtZNqw3GMA+4ArRB4aszySj50Ic41C0rb59p7dJg== X-Received: by 2002:a6b:6816:0:b0:786:25cf:421f with SMTP id d22-20020a6b6816000000b0078625cf421fmr9480613ioc.19.1689467886182; Sat, 15 Jul 2023 17:38:06 -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 t3-20020a05663801e300b0042b52dc77e3sm3510512jaq.158.2023.07.15.17.38.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jul 2023 17:38:06 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mike Frysinger , Simon Glass Subject: [PATCH v3 61/81] buildman: Correct invalid use of out_dir variable Date: Sat, 15 Jul 2023 18:36:29 -0600 Message-ID: <20230716003718.231903-62-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.455.g037347b96a-goog In-Reply-To: <20230716003718.231903-1-sjg@chromium.org> References: <20230716003718.231903-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 --- 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.455.g037347b96a-goog