Message ID | 20180717192552.198496-23-sjg@chromium.org |
---|---|
State | Accepted |
Commit | 4f5dea4543f2b7ebea803fe9b176abf5b637d988 |
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@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=<UNKNOWN>) 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 41VW3Q4J9Tz9s3R for <incoming@patchwork.ozlabs.org>; Wed, 18 Jul 2018 05:45:36 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id A5A39C21E07; Tue, 17 Jul 2018 19:42:32 +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_H3, RCVD_IN_MSPIKE_WL 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 1081FC21FA6; Tue, 17 Jul 2018 19:27:14 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7F9C4C21FB9; Tue, 17 Jul 2018 19:26:51 +0000 (UTC) Received: from mail-yb0-f202.google.com (mail-yb0-f202.google.com [209.85.213.202]) by lists.denx.de (Postfix) with ESMTPS id 65FE5C21F22 for <u-boot@lists.denx.de>; Tue, 17 Jul 2018 19:26:41 +0000 (UTC) Received: by mail-yb0-f202.google.com with SMTP id x13-v6so1071986ybl.17 for <u-boot@lists.denx.de>; Tue, 17 Jul 2018 12:26:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id :references:subject:from:to:cc; bh=ZUf0Qp/vd1+bdXDnsfsq9leqqFxZCoxfuCOTy6L0eD4=; b=otmIe7huWRNoUR++2Iqv752F46AV7QmICzStlCLYQhPRVgubci1zx4HKrQMjqymolX JKKd7dth2DnsgQ8Gf2CtyWqFo9dAtAfStpM/1hhz/5Q9fv6HfytA4IYhv/pc0fpEOE1q alCDQyCfxcuWvbVKZ1h6PB7UB6g0uiezGBnFqSQypHEGXWndz8bwQnMSI6syqc+gP6bO sT5lz2EIs+y/Hr3kVTKRGYgeLiC/e5yFc4GejEpwml+nPNsNthq55PPf33GGTf1F4+vZ Ai+iJKCn3tvXgmTuawoZiMto5va3CWo5dcslvQATD+3kD0MDUZj/deJd1RjX0WpmoS5+ I2Zg== X-Gm-Message-State: AOUpUlFkF+tWodseiLADPX9LESuyq98lMQV/x7A81+Zh+9GsgSkcBJ1s OvCBJ4Bu4ymaDarcuyzJ7CRx0Gc= X-Google-Smtp-Source: AAOMgpeyNnj42osUCK1AGhs9O39ddOOwzCGrEluLIM2ZaGOML26SM8+5J6GQ+MBuPgu0B3kbn1bIYe0= MIME-Version: 1.0 X-Received: by 2002:a25:2d50:: with SMTP id s16-v6mr846839ybe.30.1531855600548; Tue, 17 Jul 2018 12:26:40 -0700 (PDT) Date: Tue, 17 Jul 2018 13:25:45 -0600 In-Reply-To: <20180717192552.198496-1-sjg@chromium.org> Message-Id: <20180717192552.198496-23-sjg@chromium.org> References: <20180717192552.198496-1-sjg@chromium.org> X-Mailer: git-send-email 2.18.0.203.gfac676dfb9-goog From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Tom Rini <trini@konsulko.com> Subject: [U-Boot] [PATCH 22/29] patman: Show the current directory in GetInputFilename() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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: <http://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> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
binman: Expand feature set and documentation
|
expand
|
diff --git a/tools/patman/tools.py b/tools/patman/tools.py index 006306bd60..e80481438b 100644 --- a/tools/patman/tools.py +++ b/tools/patman/tools.py @@ -116,8 +116,8 @@ def GetInputFilename(fname): if os.path.exists(pathname): return pathname - raise ValueError("Filename '%s' not found in input path (%s)" % - (fname, ','.join(indir))) + raise ValueError("Filename '%s' not found in input path (%s) (cwd='%s')" % + (fname, ','.join(indir), os.getcwd())) def Align(pos, align): if align:
When this fails it is useful to see the current directory, since U-Boot's build system will typically change into the output directory during the build. Add this information to the error. Signed-off-by: Simon Glass <sjg@chromium.org> --- tools/patman/tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)