From patchwork Sat Dec 31 06:41:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 13085964 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 72678C4332F for ; Sat, 31 Dec 2022 06:42:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229653AbiLaGmU (ORCPT ); Sat, 31 Dec 2022 01:42:20 -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_Roy_Baron?= , 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 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@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(-)