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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 22BD9C433EF for ; Tue, 25 Jan 2022 17:35:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BB4578349B; Tue, 25 Jan 2022 18:34:58 +0100 (CET) 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="a4i9bCF+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 70BDB834CF; Tue, 25 Jan 2022 18:34:57 +0100 (CET) Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (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 A5D6682A65 for ; Tue, 25 Jan 2022 18:34:54 +0100 (CET) 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-xf2f.google.com with SMTP id b12so6244716qvz.5 for ; Tue, 25 Jan 2022 09:34:54 -0800 (PST) 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=yBfKP1uyWyBmRt7sJfHaoW/1pqP/0PpILLm+SFxuVwg=; b=a4i9bCF+wYbsN0KBIz5cTnVsoLV1ZpN2+i6mcPeLS8LtBawI6B6B7nm7rKamcbrY8g 4pxFH7G5SUvl8MfB46ltc/uxZ088oB60SN4KAFd5SPpMiIyNf5bfJti3e0+cr9/v7MHp pJ6sF/1kCPUXWY+XDzfrvzZ4cPiAVbLnrGhcY= 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=yBfKP1uyWyBmRt7sJfHaoW/1pqP/0PpILLm+SFxuVwg=; b=GZaYw2g7WyTUY1uA8QFmAXx0nvJIluQHRF6juS3eQ/1QuOIOPZNLIaZQ41rb+w8vGT XtJ54fL+yZl/IfxiEIVBXyWFo5c5fKCd3Ah7y2HZO7eBYQcTJPPJCmwd1errKJTSv0YU 7l2L181EGMUVtkQ1DwwjlXD03t2spLu51ES5JyigALrKAyuV6LJNSScDGkRC/U9r2qtl zpHqPXl+EOytwcFmHZC8QjNIpjirbhyHZgGVIDKocNVVtEIayAyQ2bmZK6dyphfsevwe UIIcI9AEGsSgO51k1kQWAL5PTdI1vlDTso82F2SA1lOixPH/JRCfPgtdCzVmqFEr+usi Bajg== X-Gm-Message-State: AOAM5326zfKHh2ofVXYTQu9srV9oLLgb4dbw27ILrlctFnfw1iGiSP6j sPAR0gZi1+Pk9WkulLlOcn6MDA== X-Google-Smtp-Source: ABdhPJxdqheT0TtRmDaHAyOlWKcUvlnbHVvEPSTdy9S+8HwupSkpIohl2reIcUrU5/XHh5XvjzBzZg== X-Received: by 2002:a05:6214:27ee:: with SMTP id jt14mr20354141qvb.12.1643132093418; Tue, 25 Jan 2022 09:34:53 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id bl1sm501562qkb.16.2022.01.25.09.34.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jan 2022 09:34:52 -0800 (PST) Date: Tue, 25 Jan 2022 12:34:51 -0500 From: Tom Rini To: Grant Edwards Cc: u-boot@lists.denx.de Subject: Re: Compile only changed files when doing 'make'? Message-ID: <20220125173451.GB7515@bill-the-cat> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VZekXYd/M+CUZV2i" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean --VZekXYd/M+CUZV2i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 25, 2022 at 03:50:43PM -0000, Grant Edwards wrote: > I'm working on a Renesas supplied port of U-Boot, and it seems that > 'make' always compiles every single (configured) source file instead > compiling only the source files that have been changed since the > previous 'make'. I've never run into this before on projects that use > 'make', and it makes development of U-Boot rather grueling. >=20 > Is that due to something Renesas broke? >=20 > Or is that a "feature" of the standard U-Boot Makefile? So, it partly depends on what version of U-Boot that you're working on top of. It's still to me a relatively recent set of improvements that fix a number of reproducible build changes and so that with a constant SOURCE_DATE_EPOCH nothing is rebuilt that hasn't changed, and so it's also true that re-running "make" only rebuilds the few files that would change due to time stamp usage, which has also been corrected. --=20 Tom --VZekXYd/M+CUZV2i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmHwNLgACgkQFHw5/5Y0 tywa+wv+NLNCbMDNoTsE01kaeeKJn4FqYj+cI0aLB5U4WKPgil3df8GhWbOpTHDb TNqaBDUPRaDMMyLdME/r7C5zCHOytHRpptVBhh67OWB1WpWlpeRXO0NimGWyzxJ6 xwbTrOEv1Qe3Afjbyvx1/BsNR5P0z7gFTAFYKtCIcOYF02AO0xXKQ0Ac95Tm7eRH I6jSbED6GGpLBCrj/WxOVFUSNAUHnk7gRiedbNbFJfG73zZYNkktnSGDHoLjpQ2j YjH2ASsd41a/p3EfTlY5hVvnGeEZeVQmeONHFIgjGr+PE8JRPwJix9Ro6b0KbdI0 3yP2q81bwhOh/fiB245uhQUz8l6p6gz3tR56EHwBY30hNulgf6cHyDyFCUSKqxoc 2hYXmZjvwsLn7m9BFZ0sq8iwltX022KgnwmShfSPJJF1UuiB5471b2jvFioK1/VZ B/PkfLtanhbj6wSXRG/SIZ12tlVHRK2jCQFI8jTQIV4j/IVFiD8+rB8uxXtCUaq6 iyJsjfc2 =Ub42 -----END PGP SIGNATURE----- --VZekXYd/M+CUZV2i--