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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8CBDAC48BF6 for ; Mon, 4 Mar 2024 02:47:00 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgyLg-0006g9-GJ; Sun, 03 Mar 2024 21:46:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgyLc-0006fr-Sx for grub-devel@gnu.org; Sun, 03 Mar 2024 21:46:37 -0500 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rgyLb-0005wI-Am for grub-devel@gnu.org; Sun, 03 Mar 2024 21:46:36 -0500 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-51321e71673so4458030e87.2 for ; Sun, 03 Mar 2024 18:46:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709520391; x=1710125191; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=Ql/B+cHm2fpwObZPbnXJdoLsaH6GRZikBFHeRkmSbXU=; b=Wid4yzGUIZ9XFyIEsRaBs+0HmtvJ7ZXhA73w9JrNbNcP1xvmWqu7eDp+2MfUSru6T4 EPiG7BFUCExMz45PGNYiLqcaz+NO3dsFnrCOdS1kfVwYzk8GgNdyik2ti7sqE50fkEgY 3nWKh4C0EejROnqvdYntmwcm8LE57vh/PP4Ndw/BSQd4j/iDHQnv/a+zA6rf3k0UhTVo mRseQ5/bFLXtw9c7xNs9J41WIqqB37TnhVBZr6cbHFbsdaU18AfImt/tl5bgf0/hV6VG S0mpMrGauJOvuOIsufrST4yRo44AnjcfUVmhtgPRY/OTwf4jVNEdxJnke/b48AE88CNI 6AHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709520391; x=1710125191; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ql/B+cHm2fpwObZPbnXJdoLsaH6GRZikBFHeRkmSbXU=; b=D7enH9v76YgcAi8yyYBxTth2MITFLcTa88zzNpCpMlVjmbFT4txIIMsnRBb+KLi9mT oxSz1MhuLQD3PDQZjUnmXOEi/jMuZbsoxJeWRKrrqhreokL5okDxNOUj65bX/3csc8u8 JQsHVnClBF3fmhTSXcy8oQIr/PVQs8PYAbIa4ktY5O78H6OYhcIhiKCOPxc2Zq6ys1iq MWNul7d+ccVwl9VifweilhxP3rXRCnPLTuKlevqpuRnIU+hR91ox1jROCCgzrMvJcrsD ewCpDp78krUyx7E36jWlmbtfWX1SJ8mNfaqQ4LoiqOgIgNWM3agGd5+UbP8u9MVq++16 4hCw== X-Gm-Message-State: AOJu0Yz+G2wd19PiKipD8/pIL+zLIbqZFrmdcPakWHXWqZm4CAKzWOxF 8A6cdtsnrErlGeMkdPkHDw7fKVhksNHIhngjY0jfkohXosaQg34s X-Google-Smtp-Source: AGHT+IGpZPOpBtqJ0gDzmkqKICegOM82EUmIGrOgn4re6D3cYxolPUkjfxG3TPlwb89q5ZZzmOi86g== X-Received: by 2002:ac2:454a:0:b0:513:3106:ac63 with SMTP id j10-20020ac2454a000000b005133106ac63mr4476716lfm.17.1709520391084; Sun, 03 Mar 2024 18:46:31 -0800 (PST) Received: from dj3ntoo (30.sub-97-147-14.myvzw.com. [97.147.14.30]) by smtp.gmail.com with ESMTPSA id x11-20020a170906710b00b00a4434e9938asm4199228ejj.84.2024.03.03.18.46.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 18:46:30 -0800 (PST) Date: Sun, 3 Mar 2024 20:46:24 -0600 From: Oskari Pirhonen To: Oliver Steffen Cc: grub-devel@gnu.org, Olaf Hering , mate.kukri@canonical.com, Daniel Kiper , Vladimir 'phcoder' Serbinenko , Daniel Kiper Subject: Re: [PATCH v2] Track explicit module dependencies in Makefile.core.def Message-ID: Mail-Followup-To: Oliver Steffen , grub-devel@gnu.org, Olaf Hering , mate.kukri@canonical.com, Daniel Kiper , Vladimir 'phcoder' Serbinenko , Daniel Kiper References: <20240228123600.93727-1-osteffen@redhat.com> MIME-Version: 1.0 In-Reply-To: <20240228123600.93727-1-osteffen@redhat.com> Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=xxc3ncoredxx@gmail.com; helo=mail-lf1-x136.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The development of GNU GRUB Content-Type: multipart/mixed; boundary="===============2809329992529883973==" Errors-To: grub-devel-bounces+grub-devel=archiver.kernel.org@gnu.org Sender: grub-devel-bounces+grub-devel=archiver.kernel.org@gnu.org --===============2809329992529883973== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5VNU2ew1fF6reEJ7" Content-Disposition: inline --5VNU2ew1fF6reEJ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 28, 2024 at 13:36:00 +0100, Oliver Steffen wrote: > Add a new keyword, "depends", to the module definition syntax > used in Makefile.core.def. This allows specifying explicit module > dependencies together with the module definition. >=20 > Do not track the "extra_deps.lst" file in the repository anymore, > it is now auto-generated. >=20 > Make use of this new keyword in the bli module definition. >=20 > Signed-off-by: Oliver Steffen > Reviewed-by: Daniel Kiper > --- > v2: > - fix out-of-source builds >=20 This fixes the build issue I mentioned in v1 based on running through the same steps again. However, it feels like there are two distinct things going on in this patch: 1. Code to generate the extra_deps.lst at make-time using the new "depends" keyword 2. Use the new "depends" keyword for the bli module Would it make more sense to split this patch into two? Otherwise, Tested-by: Oskari Pirhonen - Oskari Side note, overall this change is simpler than I expected. --5VNU2ew1fF6reEJ7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQfOU+JeXjo4uxN6vCp8he9GGIfEQUCZeU1+wAKCRCp8he9GGIf Edo9AP9InEOgdAGlN3YqZLT27aFkf0bVLfjw2shDT6jBGDTlKQD/RMCSkttEl5Ju +vR4Pd1FyFThJXpjhULtz47zsxOe3Q4= =vDxb -----END PGP SIGNATURE----- --5VNU2ew1fF6reEJ7-- --===============2809329992529883973== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KR3J1Yi1kZXZl bCBtYWlsaW5nIGxpc3QKR3J1Yi1kZXZlbEBnbnUub3JnCmh0dHBzOi8vbGlzdHMuZ251Lm9yZy9t YWlsbWFuL2xpc3RpbmZvL2dydWItZGV2ZWwK --===============2809329992529883973==--