From patchwork Fri May 27 10:01:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 12863191 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 2D927C433F5 for ; Fri, 27 May 2022 10:04:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350767AbiE0KEo (ORCPT ); Fri, 27 May 2022 06:04:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350772AbiE0KEm (ORCPT ); Fri, 27 May 2022 06:04:42 -0400 Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4B4B1078B2; Fri, 27 May 2022 03:04:40 -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 24RA2hPQ029808; Fri, 27 May 2022 19:02:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 24RA2hPQ029808 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1653645764; bh=61zPFwXwuMzPPnYh5a2KY2eJrg46Tur01X/5UtHyktY=; h=From:To:Cc:Subject:Date:From; b=2YPSV64Qy3StO2+UBYGQgOhCFR1cwIATKIFqJYTyDsdkMxdosGUD6v4/ed3N9Wbk1 H1h3RaS9tKQtF6OA0intkN7q+jMauoV0j4XpNnk+qeMaHauQVnjQtPsX46qKIqTlht qIcHJse9UrOKt4R3ixLQUU3xdvackns8mxdNPk48DqTn4a4hapvuTTzCTWMgvQSjWb kWRmGEDf1557zuUF7bglIVEyA4k9SQ43JXps4nTZV643+td0aA6zHEbs5v9kXYu7I6 oVCa2dvrMpB++v4qmTDq7rN5UQ+6n7qzYQO0EJuBLUNT7TKQo+5sNP5W2LBXYd4nOu 1xOiN1zVA94Tg== X-Nifty-SrcIP: [133.32.177.133] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Josh Poimboeuf , llvm@lists.linux.dev, Helge Deller , linux-parisc@vger.kernel.org, Masahiro Yamada , "James E.J. Bottomley" , Michal Marek , Nathan Chancellor , Nick Desaulniers , Tom Rix Subject: [PATCH v7 0/8] kbuild: yet another series of cleanups Date: Fri, 27 May 2022 19:01:47 +0900 Message-Id: <20220527100155.1996314-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org A couple errors have been reported since I applied v6. I am sending v7. Masahiro Yamada (8): kbuild: replace $(linked-object) with CONFIG options kbuild: do not create *.prelink.o for Clang LTO or IBT parisc: fix the exit status of arch/parisc/nm kbuild: check static EXPORT_SYMBOL* by script instead of modpost kbuild: make built-in.a rule robust against too long argument error kbuild: make *.mod rule robust against too long argument error kbuild: add cmd_and_savecmd macro kbuild: rebuild multi-object modules when objtool is updated arch/parisc/Makefile | 2 +- arch/parisc/nm | 12 +++++- scripts/Kbuild.include | 10 ++++- scripts/Makefile.build | 87 +++++++++++++++++--------------------- scripts/Makefile.lib | 7 --- scripts/Makefile.modfinal | 5 +-- scripts/Makefile.modpost | 9 +--- scripts/check-local-export | 65 ++++++++++++++++++++++++++++ scripts/mod/modpost.c | 35 +-------------- 9 files changed, 128 insertions(+), 104 deletions(-) mode change 100644 => 100755 arch/parisc/nm create mode 100755 scripts/check-local-export