From patchwork Tue Oct 2 03:12:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 977614 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42PPbt2HTJz9s3x for ; Tue, 2 Oct 2018 13:22:49 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id B0D02C21FEE; Tue, 2 Oct 2018 03:16:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B41BDC21FF4; Tue, 2 Oct 2018 03:15:43 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 03C22C21FF4; Tue, 2 Oct 2018 03:14:58 +0000 (UTC) Received: from mail-ua1-f74.google.com (mail-ua1-f74.google.com [209.85.222.74]) by lists.denx.de (Postfix) with ESMTPS id 81AB3C21FDC for ; Tue, 2 Oct 2018 03:14:56 +0000 (UTC) Received: by mail-ua1-f74.google.com with SMTP id t28-v6so221906uae.12 for ; Mon, 01 Oct 2018 20:14:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=6Ekt2FPOmiDH93omxK0TyLNa9dR1za3tasjnbN4tl2M=; b=X7eeKYyBP6XO8AVMAlH1v2n6+EePNfz+AEDCbddoV0H2kvmDrpRYgf0cg0tgz66HQG 0Vh5byovnBvYonah4mg0I+yqKT3kHxihzqNg+gcXQnkLa3CEpfisY2LguixzNbP2ab5i FzhoWmSejuaAbLfAm9mPLCa3o1xX6T7qEBbBjW7qNsMTNUs62MLLjGO2iYzjR3y76Dnx DZ2KQPl1GbtivS7UqFk31p7R6sQmJh+3yB/6NmJ3LAnWpILZy1MvxRYyMTw+l2iN98OE 6m7lmQLsggHhC+BlAJccdcpq7+UK6gAolQQOHqyH4dRxx1J1RVQvQIC1ILeoNb3og/OD XSHw== X-Gm-Message-State: ABuFfoghBqR1Sgxbnp10EFbLUB3ZWdAIEUnOi4IJ/NGOP9/NdutgCJyO WZ/G63CzY6eYWOKNy9Vy5wWvxFo= X-Google-Smtp-Source: ACcGV62Vuj1mXF/WvtuK7vgZc5M0UZeM+ffmXPJftif/wDrsvSBcgeyUxKLpQhx7HZdktiLlQATcdys= X-Received: by 2002:a67:80d3:: with SMTP id b202-v6mr13492162vsd.8.1538450095676; Mon, 01 Oct 2018 20:14:55 -0700 (PDT) Date: Mon, 1 Oct 2018 21:12:44 -0600 In-Reply-To: <20181002031247.93384-1-sjg@chromium.org> Message-Id: <20181002031247.93384-15-sjg@chromium.org> Mime-Version: 1.0 References: <20181002031247.93384-1-sjg@chromium.org> X-Mailer: git-send-email 2.19.0.605.g01d371f741-goog From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Stephen Warren , Alexander Graf Subject: [U-Boot] [PATCH v2 14/17] tools: Set an initial value for indir X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" This variable is not documented or set up in the module. Fix this. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- Changes in v2: None tools/patman/tools.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/patman/tools.py b/tools/patman/tools.py index 1c9bf4e8100..bf099798e65 100644 --- a/tools/patman/tools.py +++ b/tools/patman/tools.py @@ -28,6 +28,9 @@ packages = { 'lz4': 'liblz4-tool', } +# List of paths to use when looking for an input file +indir = [] + def PrepareOutputDir(dirname, preserve=False): """Select an output directory, ensuring it exists.