Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8103416rwl; Fri, 30 Dec 2022 22:50:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXtlLvLS6HKfP08sdsyUKYvOBWh4/t95xCmjYbqGk8/jj13vbvSs7N/eEaSJ4kGNqIHpwGQc X-Received: by 2002:a17:907:d50e:b0:7c1:5982:d729 with SMTP id wb14-20020a170907d50e00b007c15982d729mr34897535ejc.56.1672469415825; Fri, 30 Dec 2022 22:50:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672469415; cv=none; d=google.com; s=arc-20160816; b=1EPFinuEl0HytW+1qwS+B5DY3yZLNHPbnwwVw3+2aBRP0jwq8Ryx+rGbwCRlTuBFWF 8XmQYWThi3aGEE6l2vYkkTdDDM9rAAaMfJl+EcMOPCK6OzFBB1PtS01MgA3eufJNxdm9 hTL05zJ4B0mVcupyIPEEQkfAcFA/wta1LGI1bxbfW3mv28FceDANCbXlYf5MK1DNbUEz ZwCpnXhKvcEYYjc++M98wtEFZ3V3zNJ69iEAawi9e2tLVyFnd51spYZXDYL0SA/0zHME Oa8pGLJkqy27g2Kr/m5GQONfqRsiS0QxAGefHe3O/HNjfIjsRQDgbqCIl4qNiR0GBBP+ XOYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=sx2uRo/+9ARhcs0PZ6vNVzU5Q7UH1kyHEOUKJjYPKOo=; b=Z836cjgTHCGIWJD4onko5TImaE3S7EVXy45Shjhu6tQ08zYBkn65W+SQzrrl9mQ0s0 6ZbnX++7AEE/O6YMKWVEWnMKEQruwbfsCeiC3/qc96mpsFaOxikaTNPZ7yalnzxWmqv9 ez2NjvFkqhQeeqJg2g1TrfD0wURPSD+QMznGoUrV9WK8C/t+6uyFzKtew8saBNveaQSr XVvgMQ301sPqXp7w6UvG6ERXK3rtC494m+Lcnhu+824Vt9/IinreP27NJw2V4cbqm/XK 9Llh5zOY7IZ5E2QsUhdGMBLySfqr4jn71CPLR87SEOgR4Sl1l+Uz9tnJWDKtdM7YFvDr We/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cwnNg+U+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hw20-20020a170907a0d400b007ae1052554esi14973186ejc.898.2022.12.30.22.49.58; Fri, 30 Dec 2022 22:50:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cwnNg+U+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229994AbiLaGmW (ORCPT + 63 others); Sat, 31 Dec 2022 01:42:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbiLaGmT (ORCPT ); Sat, 31 Dec 2022 01:42:19 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 857DC3B2; Fri, 30 Dec 2022 22:42:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 329A3B80066; Sat, 31 Dec 2022 06:42:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F4023C433F0; Sat, 31 Dec 2022 06:42:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672468935; bh=Q3TDSDFr/sJtluomc4BwL5YkxG8/1KW66Kq678sK91A=; h=From:To:Cc:Subject:Date:From; b=cwnNg+U+pDVojTYGdaksC2JJpE970eqINaEP6uu2OjZdwClKhTKgR+uS5juHUVPs/ CKg1Iayv+Ayf1J/38YA5SgVU3N9T9z2ryPxULwND7HC/ilt/UUMAex5G8YvpnhINZo rwZAIsOuMlDxnX0XEaZQYDC896vFrmBR0FQLjpUanIte3SRUtfR1xXLGVS8OzEXSMB osfwm+Xv7LQoa2rO7zSPZmoz9yeZqiNk6b2qPuEg+ZV0BFOFZ7oHpBBkMF9FgeIo40 zH6USqEV1GDrVpDti1HJsCaT/QERa70Mm2dBnumVOdjl6Cwx+2cJXqeGdG4xadw80P Kvajjkw3WKYGA== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Miguel Ojeda , Masahiro Yamada , Alex Gaynor , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Boqun Feng , Gary Guo , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Tom Rix , Wedson Almeida Filho , llvm@lists.linux.dev, rust-for-linux@vger.kernel.org Subject: [PATCH 0/6] kbuild: fix dep-file processing for rust Date: Sat, 31 Dec 2022 15:41:57 +0900 Message-Id: <20221231064203.1623793-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Masahiro Yamada (6): kbuild: specify output names separately for each emission type from rustc fixdep: parse Makefile more correctly to handle comments etc. kbuild: remove sed commands after rustc rules fixdep: refactor hash table lookup fixdep: avoid parsing the same file over again fixdep: do not parse *.so, *.rmeta, *.rlib rust/Makefile | 16 ++- scripts/Makefile.build | 26 ++--- scripts/Makefile.host | 10 +- scripts/basic/fixdep.c | 234 +++++++++++++++++++++++++++-------------- 4 files changed, 173 insertions(+), 113 deletions(-) -- 2.34.1