From patchwork Tue Dec 14 02:53:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 12675361 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79119C43219 for ; Tue, 14 Dec 2021 02:55:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243075AbhLNCze (ORCPT ); Mon, 13 Dec 2021 21:55:34 -0500 Received: from conuserg-11.nifty.com ([210.131.2.78]:41823 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231237AbhLNCz0 (ORCPT ); Mon, 13 Dec 2021 21:55:26 -0500 Received: from grover.. (133-32-232-101.west.xps.vectant.ne.jp [133.32.232.101]) (authenticated) by conuserg-11.nifty.com with ESMTP id 1BE2s0bg012823; Tue, 14 Dec 2021 11:54:05 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com 1BE2s0bg012823 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1639450446; bh=nVXwzb0FLjY8aEGAEFsUewOVCSlE7SBFJlhSFGwALBQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mp5NYfuo69xmD9CRfU539KblGs9XgtMLAEv7zEC08tuUDcNSc1PfhuVU6w9zykq1m eR59YBMsTengL1p88rusrJW6De+x9p27ZlP4rjfNG/Lc8lAkQV+DEph/jh5sTAwe8s ok7lT4YaZ9Efbd4b6v1RyjoZuZTK6wSQOB1Nsxaysh1eMkyCbYnMIaV/ipopM3IIpH 3+TRVdE2NfNWxOdXTwOe3ay2vBdXbqmwUI2XX88Z15x2hCqjyiT3fwm5Or2I7YY3J9 82Dd3cp9+YIWXB0MITGw5lHwrZdvmkYGR+cAQizm2CkLrqi2BSjLBplK0z6uqFxx4V NHUJzwaIUPqdQ== X-Nifty-SrcIP: [133.32.232.101] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Michal Simek , linux-arch@vger.kernel.org, David Howells , David Woodhouse , keyrings@vger.kernel.org, Richard Weinberger , Nicolas Schier , Masahiro Yamada Subject: [PATCH v2 05/11] certs: remove misleading comments about GCC PR Date: Tue, 14 Dec 2021 11:53:49 +0900 Message-Id: <20211214025355.1267796-6-masahiroy@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211214025355.1267796-1-masahiroy@kernel.org> References: <20211214025355.1267796-1-masahiroy@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: keyrings@vger.kernel.org This dependency is necessary irrespective of the mentioned GCC PR because the embedded certificates are build artifacts and must be generated by extract_certs before *.S files are compiled. The comment sounds like we are hoping to remove these dependencies someday. No, we cannot remove them. Signed-off-by: Masahiro Yamada --- (no changes since v1) certs/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/certs/Makefile b/certs/Makefile index bb1763150547..c3c8da03b04b 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -19,7 +19,6 @@ ifeq ($(CONFIG_SYSTEM_TRUSTED_KEYRING),y) $(eval $(call config_filename,SYSTEM_TRUSTED_KEYS)) -# GCC doesn't include .incbin files in -MD generated dependencies (PR#66871) $(obj)/system_certificates.o: $(obj)/x509_certificate_list $(obj)/x509_certificate_list: scripts/extract-cert $(SYSTEM_TRUSTED_KEYS_SRCPREFIX)$(SYSTEM_TRUSTED_KEYS_FILENAME) FORCE @@ -80,7 +79,6 @@ ifeq ($(patsubst pkcs11:%,%,$(firstword $(MODULE_SIG_KEY_FILENAME))),$(firstword X509_DEP := $(MODULE_SIG_KEY_SRCPREFIX)$(MODULE_SIG_KEY_FILENAME) endif -# GCC PR#66871 again. $(obj)/system_certificates.o: $(obj)/signing_key.x509 $(obj)/signing_key.x509: scripts/extract-cert $(X509_DEP) FORCE