From patchwork Wed Dec 4 23:54:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1204410 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=konsulko.com 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 RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47Swtd6Tm1z9sNx for ; Thu, 5 Dec 2019 11:04:09 +1100 (AEDT) Received: by phobos.denx.de (Postfix, from userid 109) id 49F8981742; Thu, 5 Dec 2019 01:03:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6D0BC808B5; Thu, 5 Dec 2019 00:55:50 +0100 (CET) Authentication-Results: mail.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id AE2A3816A4; Thu, 5 Dec 2019 00:55:47 +0100 (CET) Received: from mail-qt1-f193.google.com (mail-qt1-f193.google.com [209.85.160.193]) (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 082C7808B5 for ; Thu, 5 Dec 2019 00:54:36 +0100 (CET) Authentication-Results: mail.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f193.google.com with SMTP id v2so1641342qtv.8 for ; Wed, 04 Dec 2019 15:54:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ff1WaTS9YSShoZFRdRbM7D0QyZ03WDj40oIsdXNbLg4=; b=SiSzy7H1XWXeKAUWrFtYbfLSRdeIU6W+wCWLlKLkg3DZ9w//45YDYMDBArBfq+uCA8 scqk9PINnD3yTpL6jGlCbYYwJ4CHZUBiF0M9fpzAyPeNX6nRouBOVdw73ssDMgBh0oP6 ObiKiPEsdHZKGo93V4cDmc0MRyfxaTQVkIuKKiZbQW98zrbe06uP38tAhFraR9SGTB0C X2lOXjOK2PS/C3OgUyrmBsgmyctEww0/fXe2aeeXVsXSr5ECmiimQ3xXZoFSU6umP2xc KPHXn8EVpojkvABsOm/Cn9M217SN5Wihpp+rcegmSSPSAmqUmAk+yr55SWiaNAOgnxZs bL7g== X-Gm-Message-State: APjAAAWH3xxUsNb53xR82tgIKDxkvayPQ4qt/eRMpMHfbz5toxnUxwF9 yJJliLXyyOSCMPkH8hYCBIiqMVOXBg== X-Google-Smtp-Source: APXvYqzZkm4TgOoZ5lJB/YrznIwCl2OKn2yKWOK6bLyYxmYjEdwQ4aR6MsDCogOxeJ8Dcpyf2I1MTQ== X-Received: by 2002:ac8:425a:: with SMTP id r26mr5233318qtm.138.1575503674442; Wed, 04 Dec 2019 15:54:34 -0800 (PST) Received: from bill-the-cat.local (2606-a000-1401-86dd-2437-e57c-2a66-2025.inf6.spectrum.com. [2606:a000:1401:86dd:2437:e57c:2a66:2025]) by smtp.gmail.com with ESMTPSA id s63sm4297923qkf.129.2019.12.04.15.54.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2019 15:54:33 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] Makefile: Ensure tools directory exists in output prior to use Date: Wed, 4 Dec 2019 18:54:30 -0500 Message-Id: <20191204235430.6517-1-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 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.101.4 at mail.denx.de X-Virus-Status: Clean With the change to make tools/version.h a file we need to make sure that the output directory exists first otherwise we will get a build failure. Reported-by: Peter Robinson Tested-by: Peter Robinson Fixes: 4d90f6cd9813 ("tools: Avoid creating symbolic links for tools/version.h") Signed-off-by: Tom Rini Reviewed-by: Bin Meng Reviewed-by: Simon Glass --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 0ee0c701022a..960926caad45 100644 --- a/Makefile +++ b/Makefile @@ -1889,6 +1889,7 @@ checkarmreloc: u-boot fi tools/version.h: include/version.h + $(Q)mkdir -p $(dir $@) $(call if_changed,copy) envtools: scripts_basic $(version_h) $(timestamp_h) tools/version.h