Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2608836rwb; Sat, 24 Sep 2022 11:21:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4KW2ah6MrzmQMDET9TIYADy42Bex44/UhZfHbRNS3668T++RK+IoRQX2AWjiQ7kmhCXCYe X-Received: by 2002:a17:90b:254a:b0:200:53f:891d with SMTP id nw10-20020a17090b254a00b00200053f891dmr16380501pjb.168.1664043713550; Sat, 24 Sep 2022 11:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664043713; cv=none; d=google.com; s=arc-20160816; b=A3ktv9QDcu3f/sDPFfj/0HVbQocjubOjXR4gyWMmECdnZn+iNbFuj81+31RhruRLdh 8NNJZr+x3dEpJUXZ71FyHMCk2bx70XdsS9l5rL7TU+5Z5nm5zW12SUEVaUu8Xb9nh8Sl KnXh1wI+ywYNseg7S17OgCgx4sIV4nibYe53IsXrjh4ggWAYOrjPb2x1G/IXGfOTlocz x0FWZC24K+04pvep77klgnp/2LXJZqcM2ov1J7I3SQo/77RHhK3WOn9iFyTfGOgYFCW0 PRww5QIIkfZkNioMYueA0zDyVCdelzd5XcYiYsdeejh/aw2oeYKLiNciqMb7dSJDdLAO 98Ww== 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=7O1zNbb37gHsk88UbIF8BQdtRIn/7u/0EkM8udldGLc=; b=lrPlLGG9nVs5VZ8KqUmz9SnycIWc6lHBOoRq3BsTaFvusxE8H7rUI0XgBLetVXC2U5 cdnQq5gGaZh4dy2iRSZPBkYK0Wjx5Tg9OAVVtj6GO90QZxKmf32wIZenc23yHE5k7US2 KeO8734I6rffDOIJ+EBPW4KuZdIsjqK2kSYkiHQOsFydLy1pmv/aYM3DYxu+ubG6jXrV HLrAj1kv/AeNaEZ912DuRWf6YtMyv7UAG+0t68sfH4u9qrCRxkjC3YeP6LM2MzZeb3GX 0/Ju+RLCitESeGgJP0GOoVso9RKpl/LEIs2hMo/DvQMj8+N2kUTFoOocRjyTlorblYL+ Sw4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=T5lXEuxx; 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 z13-20020a630a4d000000b00438e26dd702si12861410pgk.468.2022.09.24.11.21.42; Sat, 24 Sep 2022 11:21:53 -0700 (PDT) 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=@nifty.com header.s=dec2015msa header.b=T5lXEuxx; 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 S229690AbiIXSUo (ORCPT + 99 others); Sat, 24 Sep 2022 14:20:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230201AbiIXSU1 (ORCPT ); Sat, 24 Sep 2022 14:20:27 -0400 Received: from conuserg-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D7F12E9FF; Sat, 24 Sep 2022 11:20:24 -0700 (PDT) Received: from zoe.. (133-32-182-133.west.xps.vectant.ne.jp [133.32.182.133]) (authenticated) by conuserg-11.nifty.com with ESMTP id 28OIJItQ005682; Sun, 25 Sep 2022 03:19:18 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com 28OIJItQ005682 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1664043559; bh=7O1zNbb37gHsk88UbIF8BQdtRIn/7u/0EkM8udldGLc=; h=From:To:Cc:Subject:Date:From; b=T5lXEuxxEAdJ0dawvvQQL6k52NKk5pH803QUMqgdiKNNMOlZ/WOWDZvk9PUdH8G45 DJUMxltvyDQSY3tRZ7b85R0fuzgTcIOIJrKcyY3Vdn6Dst5+dtjSLPT6hiJsftBH9l lk26V2+Xtc48J0A5DX3y6v457glP+RCSfJc0Y+3nTcLT9f8QwxmUgUAFsVdoXsSVeL pKdz4yXDPxxHjwcruWIduLbYNyVdJCD3ohQDdf1/YkyOFb863x26/kyD62ts9ylvlT 2v9UHneXR/uO/+FlPHszmKyqi4ljShEbRu4ILS648qll3EHiTgz+Y3Cd4fRYp7v5xP 9BB3LkXzvfFWQ== X-Nifty-SrcIP: [133.32.182.133] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Nick Desaulniers , Nathan Chancellor , Masahiro Yamada Subject: [PATCH v3 0/7] kbuild: various cleanups Date: Sun, 25 Sep 2022 03:19:08 +0900 Message-Id: <20220924181915.3251186-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=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL 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 - Link vmlinux and modules in parallel - Remove head-y syntax Masahiro Yamada (7): kbuild: hard-code KBUILD_ALLDIRS in scripts/Makefile.package kbuild: list sub-directories in ./Kbuild kbuild: move .vmlinux.objs rule to Makefile.modpost kbuild: move vmlinux.o rule to the top Makefile kbuild: unify two modpost invocations kbuild: use obj-y instead extra-y for objects placed at the head kbuild: remove head-y syntax Documentation/kbuild/makefiles.rst | 27 +---- Kbuild | 24 ++++ Makefile | 119 +++++++++++--------- arch/alpha/Makefile | 2 - arch/alpha/kernel/Makefile | 4 +- arch/arc/Makefile | 2 - arch/arc/kernel/Makefile | 4 +- arch/arm/Makefile | 3 - arch/arm/kernel/Makefile | 4 +- arch/arm64/Makefile | 3 - arch/arm64/kernel/Makefile | 4 +- arch/csky/Makefile | 2 - arch/csky/kernel/Makefile | 4 +- arch/hexagon/Makefile | 2 - arch/hexagon/kernel/Makefile | 3 +- arch/ia64/Makefile | 1 - arch/ia64/kernel/Makefile | 4 +- arch/loongarch/Makefile | 2 - arch/loongarch/kernel/Makefile | 4 +- arch/m68k/68000/Makefile | 2 +- arch/m68k/Makefile | 9 -- arch/m68k/coldfire/Makefile | 2 +- arch/m68k/kernel/Makefile | 23 ++-- arch/microblaze/Makefile | 1 - arch/microblaze/kernel/Makefile | 4 +- arch/mips/Makefile | 2 - arch/mips/kernel/Makefile | 4 +- arch/nios2/Makefile | 1 - arch/nios2/kernel/Makefile | 2 +- arch/openrisc/Makefile | 2 - arch/openrisc/kernel/Makefile | 4 +- arch/parisc/Makefile | 2 - arch/parisc/kernel/Makefile | 4 +- arch/powerpc/Makefile | 12 -- arch/powerpc/kernel/Makefile | 20 ++-- arch/riscv/Makefile | 2 - arch/riscv/kernel/Makefile | 2 +- arch/s390/Makefile | 2 - arch/s390/kernel/Makefile | 4 +- arch/sh/Makefile | 2 - arch/sh/kernel/Makefile | 4 +- arch/sparc/Makefile | 2 - arch/sparc/kernel/Makefile | 3 +- arch/x86/Makefile | 5 - arch/x86/kernel/Makefile | 10 +- arch/xtensa/Makefile | 2 - arch/xtensa/kernel/Makefile | 4 +- scripts/Makefile.lib | 2 + scripts/Makefile.modfinal | 2 +- scripts/Makefile.modpost | 112 ++++++++---------- scripts/Makefile.package | 5 +- scripts/Makefile.vmlinux_o | 6 +- scripts/clang-tools/gen_compile_commands.py | 19 +--- scripts/head-object-list.txt | 53 +++++++++ scripts/link-vmlinux.sh | 34 +----- 55 files changed, 273 insertions(+), 314 deletions(-) create mode 100644 scripts/head-object-list.txt -- 2.34.1