Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1176059pxb; Wed, 6 Apr 2022 10:31:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/iI53WzIxechlTrTBCxbQMN6spe2D/lsFxqnkPku02cBtkgcvwSedas2EdEa2fF+YLzTd X-Received: by 2002:a63:3756:0:b0:398:4086:16 with SMTP id g22-20020a633756000000b0039840860016mr8018147pgn.55.1649266292041; Wed, 06 Apr 2022 10:31:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649266292; cv=none; d=google.com; s=arc-20160816; b=UrecP6KezHnBr4dfFENMKZ2emQu9+aqUncPVDX7ST9su6pGCKLs9ptIHpMY+VII0XT kDRvKgX0c7hzSah/4ci+eb2YYu8dDDKtIKFT0zuQDwx29P6PK1Nr851agJQ5ab00cg7W DAwOzbdq8K13iRryJinhlWe10nQ48r7SfjH+FIg4EehwE+jA1xxFDCNQESlCuiRA7pa1 YDzd+FZCbrVgCdq7S3nO8Aahafx21vIFD/qBwetz3kDoavGC5TM4vB2/8X9w4vmDPmOz T86QpNP0KiXD7TjkA+VkF4Tsxmt+H1uisYQ0Q1ZCp2dj22xP3BJx253dqK1eddHpK776 MW9g== 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:dkim-filter; bh=ndm1WDAbt9/rjEylpsXuA9cyn3z2PfelOFyCYEZ9OVI=; b=ez9awU+sPUgEmjbiRakVvJhIBkJC6PXy6hNklnOLhCNXBPPy5S4kW3XB2Lr4j2MtnH pCaWtaYtCDWzznUBazRmYjWFha4gBPyu/NXRtunSDp7rZKSv4Pct0Qzc1YQJNJ74BuCD YTyNXM07lHuTeFbuO7Ax3SVQ4qVNanQJzVr1hM7oqWlT2e7tjKia4f1mKGcYMJ9j+Lkh KrNqJHckq9aMZIIU8IVyCrNf8yKlYEujTNcP5g5MxMPlQTFTIw4Mxkt3J4/T3aoS2qS8 y/eeaRYuMmYki6bUITh5PsNvuC7jSpg1913bm1WWtZjsK3kKLSdDmqeL8oA0H498ehSR PK5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=HsCXPe29; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 67-20020a630846000000b003816043f05dsi18087570pgi.594.2022.04.06.10.31.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 10:31:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=HsCXPe29; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD7992D312D; Wed, 6 Apr 2022 10:28:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239103AbiDFRaP (ORCPT + 99 others); Wed, 6 Apr 2022 13:30:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239075AbiDFR31 (ORCPT ); Wed, 6 Apr 2022 13:29:27 -0400 Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E513D182AFF; Wed, 6 Apr 2022 08:32:24 -0700 (PDT) Received: from grover.sesame (133-32-177-133.west.xps.vectant.ne.jp [133.32.177.133]) (authenticated) by conuserg-08.nifty.com with ESMTP id 236FUcaP017647; Thu, 7 Apr 2022 00:30:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 236FUcaP017647 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1649259039; bh=ndm1WDAbt9/rjEylpsXuA9cyn3z2PfelOFyCYEZ9OVI=; h=From:To:Cc:Subject:Date:From; b=HsCXPe29MYtetJOqJFbTKiHB2uKifL2Sv8/kGjmWg+otp4IawIVwbHZQ6IMmENN27 tExikjqx6gJHVaL4nK2yY2G5EeeAL8HEndlytK+wDrCxVHmjxGdS3C3vd41D9iIHAd z1fGZTg05gRU+hW5dgj0E/6qmjWqttzgm+M6Kpuu2yVGOyzBe9nII/cVb5V/PxPBKZ QnPN9dRvv74WFHW2V4cSc6TuIcn25D717SckK7fEdD8IYAeb9/o3nUSIau/GbKBp6O MqN1+MHf2Uhap5PFIWd7LOpa+ZzGyQ9S3iapIc0BR/+kF4RRmSsPogKp7uHs7IpBP1 YvpHGr2n3EFdg== X-Nifty-SrcIP: [133.32.177.133] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Alexander Lobakin , Michal Marek , Nick Desaulniers , Nicolas Schier , Rasmus Villemoes , Sami Tolvanen Subject: [PATCH 0/7] kbuild: more misc cleanups Date: Thu, 7 Apr 2022 00:30:16 +0900 Message-Id: <20220406153023.500847-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 I sent the first batch of cleanups: https://lore.kernel.org/linux-kbuild/20220405113359.2880241-1-masahiroy@kernel.org/T/#t I took 01-06, 09-10. I dropped 07, 08. This is the second batch. Masahiro Yamada (7): kbuild: reuse suffix-search to refactor multi_depend kbuild: make multi_depend work with targets in subdirectory kbuild: reuse real-search to simplify cmd_mod kbuild: split the second line of *.mod into *.usyms kbuild: get rid of duplication in *.mod files kbuild: make *.mod not depend on *.o kbuild: read *.mod to get objects passed to $(LD) or $(AR) .gitignore | 1 + Makefile | 5 +++-- scripts/Makefile.build | 31 ++++++++++++++----------------- scripts/Makefile.lib | 6 +++--- scripts/adjust_autoksyms.sh | 2 +- scripts/gen_autoksyms.sh | 18 +++++++++++------- scripts/mod/sumversion.c | 11 ++--------- 7 files changed, 35 insertions(+), 39 deletions(-) -- 2.32.0