Message ID | 20230705121951.1629361-43-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=hDJhXgIX; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QwzVg34Jqz20bK for <incoming@patchwork.ozlabs.org>; Wed, 5 Jul 2023 22:29:15 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0CE1E86648; Wed, 5 Jul 2023 14:21:27 +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="hDJhXgIX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DE101863BA; Wed, 5 Jul 2023 14:20:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 8875F863E9 for <u-boot@lists.denx.de>; Wed, 5 Jul 2023 14:20:53 +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-xd2c.google.com with SMTP id ca18e2360f4ac-78666f06691so144703539f.0 for <u-boot@lists.denx.de>; Wed, 05 Jul 2023 05:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688559652; x=1691151652; 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=/frIyjs7RZKbiVynCvn/ezQKQM0QipYUbzX82L13dE0=; b=hDJhXgIXqXv9TGsSEbDBxim6WCBGi2xYzntgC7QecjNiSDp3mCv5iJnYHvVZWWwwoy so658os8pdiftLLXdWy4VDfSmGOHOvQo7ESkUupthAX+gkYSP8QfhY8ZGAqDlBQK6900 yBqeSJiMjsDehccXGDRVidE1LmiCx5KnCHH9Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688559652; x=1691151652; 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=/frIyjs7RZKbiVynCvn/ezQKQM0QipYUbzX82L13dE0=; b=Oz0fnvf0xngJw3uWkaT8cplQ4T1/ti9GuwUcfe1ESoABre8iIQs6meKigxWa6OHba6 TTRG8sZugvsvk4E1ETJWyviu1yhpb1eWULHUNLc4h0FojXLbjMTJDAllnnnC7DGep6c8 z5vwTtz5jAohNoxQL86EWlKBajXu4RKvqH235QDCOuIzbnwKp02ouW6DeZasXTjK7jAr mefYGllPBz58ua0stq1PJiMaBTXXlK0Tzd7pV9Z8g+hbBvoSGcxMRBdwr/RR4BqCm61D mzMhOUT8cKzEJeDFIdtGuQmXOCXUMGKDgp38ikq+nBKV3FAWpJh4UYHA3URpUuEGxlHq fLsA== X-Gm-Message-State: AC+VfDwIyW4YsMWBr/uigU3Px2ds8pM/h8SHW0Lc/ESAPQsjsMQK9S6H j4VmVlVq1nBCn173CFW5bpAmCddANLF1Kl9bCQ4= X-Google-Smtp-Source: ACHHUZ5Rr+vKxFNBcx08Qqj3dcYF2hQAW2WtIi8Pw47xjSnHH+1OGIPbR+zhyL356/x1Q3JW1ClJrA== X-Received: by 2002:a6b:5910:0:b0:783:69e0:57a7 with SMTP id n16-20020a6b5910000000b0078369e057a7mr14792513iob.16.1688559652078; Wed, 05 Jul 2023 05:20:52 -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 i11-20020a02ca4b000000b0042b1543bceasm3998459jal.21.2023.07.05.05.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 05:20:51 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Simon Glass <sjg@chromium.org> Subject: [PATCH v2 42/60] buildman: Correct invalid use of out_dir variable Date: Wed, 5 Jul 2023 13:19:10 +0100 Message-ID: <20230705121951.1629361-43-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.255.g8b1d071c50-goog In-Reply-To: <20230705121951.1629361-1-sjg@chromium.org> References: <20230705121951.1629361-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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
buildman: Refactor code and correct some pylint warnings
|
expand
|
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:
This variable has a different meaning in the outer scrop. Use a different name to avoid confusion, or bugs. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) tools/buildman/builderthread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)