From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5BE6C433F5 for ; Wed, 20 Oct 2021 00:46:28 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DBF8A610E6 for ; Wed, 20 Oct 2021 00:46:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DBF8A610E6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D4FD83246; Wed, 20 Oct 2021 02:46:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="b5j6kpUz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C3BA180202; Wed, 20 Oct 2021 02:46:12 +0200 (CEST) Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) (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 6F62D81197 for ; Wed, 20 Oct 2021 02:46:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2b.google.com with SMTP id v10so1102168qvb.10 for ; Tue, 19 Oct 2021 17:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=vJFn+ttIzrp86uwAf//V7ypxC6zeihJea0WThiFkcyc=; b=b5j6kpUzHTATJfVViFnLGX6C9WrZLrsNGjU/6HlcEMhzWFZqze+eLR6I5FoMk30HNw EbZqQvYGn07h+rWioZkW+OYS2J1rx2OpJpNVX1ij3WTsvdWEmnExTMB+NRAjbJwVZL1/ eJbTwXk3MrMz3P/Vr+W0Hb9oubSOoT0u+RfyA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=vJFn+ttIzrp86uwAf//V7ypxC6zeihJea0WThiFkcyc=; b=C5PmuS+P1QG9TDxZDkHHw9BP9HxxczkWqaLi64PcnsYzjFESO4cNs95XVa7csh/3Mv lM6L1lgS+YxxmrNIMGrmbZBJIB/xZms3xr0zAK1Rbb6zX3mKOh/TK86HUoTeVh5RlljG KvgYS0cncY5va960rhEV+g98E83nTd2vxxQWAJJyaNUBNtHbpxpEh+9X01YoUs9VFbdi WLqQ2PiRWei6gvM4fV7rAIp665gmHK4WQ6yJG8iCerSY9y9/6vvhZZm9RxeYeeaWInby AuR0txCRexQmQN8WQKTq5uI0ux1+qTcglL91BoyaOdMugXy5ZYdbFJPJdaVI+pKz2OXh WZcQ== X-Gm-Message-State: AOAM532znMkouBX5/OHUBL2ADA3pA4HJ25JLI78zF5kYy+85Cg5QKASO PTLpIZVmVJI4eJAKXcVq3uC3jQ== X-Google-Smtp-Source: ABdhPJygLN3JOz2or6haMkmVqPDVjGgJsGiNy8rBrwNp4/0AA3/mezxKVNLWmvEePNfIwOxAR26+XQ== X-Received: by 2002:a0c:c24c:: with SMTP id w12mr3228308qvh.48.1634690766166; Tue, 19 Oct 2021 17:46:06 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-815c-b889-de4c-aa50.res6.spectrum.com. [2603:6081:7b01:cbda:815c:b889:de4c:aa50]) by smtp.gmail.com with ESMTPSA id s3sm311559qkj.118.2021.10.19.17.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 17:46:05 -0700 (PDT) Date: Tue, 19 Oct 2021 20:46:03 -0400 From: Tom Rini To: Simon Glass Cc: Marek Vasut , Vagrant Cascadian , Masahiro Yamada , Heinrich Schuchardt , Bin Meng , Marek =?iso-8859-1?Q?Beh=FAn?= , Pali =?iso-8859-1?Q?Roh=E1r?= , u-boot@lists.denx.de Subject: Re: [PATCH v3 2/2] Makefile: Only build dtc if needed Message-ID: <20211020004603.GN7964@bill-the-cat> References: <20210922173444.192256-1-sjg@chromium.org> <20210922173444.192256-2-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Lje1a69b8Md/JS2G" Content-Disposition: inline In-Reply-To: <20210922173444.192256-2-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --Lje1a69b8Md/JS2G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 22, 2021 at 11:34:44AM -0600, Simon Glass wrote: > At present U-Boot always builds dtc if CONFIG_OF_CONTROL is defined, even > when DTC is provided. The built dtc is not actually used, so this is a > waste of time. >=20 > Update the Makefile logic to build dtc only if one is not provided to the > build with the DTC variable. Add documentation to explain this. >=20 > This saves about 3.5 seconds of elapsed time on a clean build of > sandbox_spl for me. >=20 > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --Lje1a69b8Md/JS2G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFvZssACgkQFHw5/5Y0 tyw0qwv/RBfg5H+3ZCy/pU++4/ElooVKVIN5xuFGHgMYOZPh8r5CKdhqsLc2+A1T WzeGRY8h8s2mn2IotTlJFme+cqeCw8Fs3oWIABGaHDD1K0dgD/wlyhrzH+6FXIeo DghrCreMV44JA5C2qRcuiMInL+pejiZXrYOXlcc4UR0nRoG/AkUrbmLmGiYOAvwB NddAxzKTUKczQG1+SFFSLhQZXlRTM/7CpwkLeqXD4rdtwPx9a+VkSRwqMlp2+F2y ENsC3+DSkaAdbvd2i/noPW/+WY/JbuzpKSn8+7S9ZuXJs8y4X/aPzRnnQ12xrzOh 5hgHSQz7FOMxotgzET7QHo+lV0pkqn8M3fIz+b4hn1IB/rfPHkxM7ZhLA4G4GVYz nHJMS/j77q9Dz7aEmmP5eIbMlJWicpIRuR244KzOrZAKUwGct+5nYUaE/O9nyZsy +IjUpp66DoV+DebRBuT6qKA8acmqzbmJkZuivQXHvhciPJyHw+Mk3iuAEi64xg7A b3/LTHFh =D1aJ -----END PGP SIGNATURE----- --Lje1a69b8Md/JS2G--