linux-openrisc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Masahiro Yamada <masahiroy@kernel.org>
To: linux-kbuild@vger.kernel.org
Cc: linux-arch@vger.kernel.org, linux-snps-arc@lists.infradead.org,
	linux-kernel@vger.kernel.org, Michal Simek <monstr@monstr.eu>,
	Rob Herring <robh@kernel.org>,
	devicetree@vger.kernel.org, linux-mips@vger.kernel.org,
	linux-openrisc@vger.kernel.org, Dinh Nguyen <dinguyen@kernel.org>,
	Masahiro Yamada <masahiroy@kernel.org>
Subject: [PATCH 00/15] kbuild: refactor DTB build rules, introduce a generic built-in boot DTB support
Date: Thu,  5 Sep 2024 08:47:36 +0900	[thread overview]
Message-ID: <20240904234803.698424-1-masahiroy@kernel.org> (raw)


01 and 02 are kbuild cleanups.
03 and 04 parepare to wrap boot DTBs in scripts/Makefile.vmlinux.

My plan is to 05-13 to each arch ML in the next cycle, but they are included
in this patch set so that reviewers can understand what will happen in
the future.



Masahiro Yamada (15):
  kbuild: add intermediate targets for Flex/Bison in
    scripts/Makefile.host
  kbuild: split device tree build rules into scripts/Makefile.dtbs
  kbuild: move non-boot builtin DTBs to .init.rodata section
  kbuild: add generic support for built-in boot DTBs
  MIPS: migrate to generic rule for built-in DTBs
  riscv: migrate to the generic rule for built-in DTB
  LoongArch:  migrate to the generic rule for built-in DTB
  ARC: migrate to the generic rule for built-in DTB
  openrisc: migrate to the generic rule for built-in DTB
  xtensa: migrate to the generic rule for built-in DTB
  nios2: migrate to the generic rule for built-in DTB
  sh: migrate to the generic rule for built-in DTB
  microblaze: migrate to the generic rule for built-in DTB
  kbuild: rename CONFIG_GENERIC_BUILTIN_DTB to CONFIG_BUILTIN_DTB
  kbuild: use .init.rodata section unconditionally for cmd_wrap_S_dtb

 Makefile                                      |   7 +-
 arch/arc/Kconfig                              |   7 +-
 arch/arc/Makefile                             |   3 -
 arch/arc/boot/dts/Makefile                    |   9 +-
 arch/arc/configs/axs101_defconfig             |   2 +-
 arch/arc/configs/axs103_defconfig             |   2 +-
 arch/arc/configs/axs103_smp_defconfig         |   2 +-
 arch/arc/configs/haps_hs_defconfig            |   2 +-
 arch/arc/configs/haps_hs_smp_defconfig        |   2 +-
 arch/arc/configs/hsdk_defconfig               |   2 +-
 arch/arc/configs/nsim_700_defconfig           |   2 +-
 arch/arc/configs/nsimosci_defconfig           |   2 +-
 arch/arc/configs/nsimosci_hs_defconfig        |   2 +-
 arch/arc/configs/nsimosci_hs_smp_defconfig    |   2 +-
 arch/arc/configs/tb10x_defconfig              |   2 +-
 arch/arc/configs/vdk_hs38_defconfig           |   2 +-
 arch/arc/configs/vdk_hs38_smp_defconfig       |   2 +-
 arch/loongarch/Kbuild                         |   1 -
 arch/loongarch/boot/dts/Makefile              |   2 -
 arch/microblaze/Kbuild                        |   1 -
 arch/microblaze/Kconfig                       |   5 +
 arch/microblaze/boot/dts/Makefile             |   5 -
 arch/microblaze/boot/dts/linked_dtb.S         |   2 -
 arch/microblaze/kernel/vmlinux.lds.S          |   2 +-
 arch/mips/Kconfig                             |   1 +
 arch/mips/Makefile                            |   3 -
 arch/mips/boot/dts/Makefile                   |   2 -
 arch/mips/boot/dts/brcm/Makefile              |   2 -
 arch/mips/boot/dts/cavium-octeon/Makefile     |   2 -
 arch/mips/boot/dts/ingenic/Makefile           |   2 -
 arch/mips/boot/dts/lantiq/Makefile            |   2 -
 arch/mips/boot/dts/loongson/Makefile          |   2 -
 arch/mips/boot/dts/mscc/Makefile              |   3 -
 arch/mips/boot/dts/mti/Makefile               |   2 -
 arch/mips/boot/dts/pic32/Makefile             |   2 -
 arch/mips/boot/dts/ralink/Makefile            |   2 -
 arch/nios2/Kbuild                             |   2 +-
 arch/nios2/boot/dts/Makefile                  |   4 +-
 arch/nios2/kernel/prom.c                      |   2 +-
 arch/nios2/platform/Kconfig.platform          |  10 +-
 arch/openrisc/Kbuild                          |   1 -
 arch/openrisc/Kconfig                         |   3 +-
 arch/openrisc/boot/dts/Makefile               |   2 +-
 arch/openrisc/configs/or1klitex_defconfig     |   2 +-
 arch/openrisc/configs/or1ksim_defconfig       |   2 +-
 arch/openrisc/configs/simple_smp_defconfig    |   2 +-
 arch/riscv/Kbuild                             |   1 -
 arch/riscv/Kconfig                            |   2 +-
 arch/riscv/boot/dts/Makefile                  |   2 -
 arch/riscv/configs/nommu_k210_defconfig       |   2 +-
 .../riscv/configs/nommu_k210_sdcard_defconfig |   2 +-
 arch/sh/Kbuild                                |   1 -
 arch/sh/Kconfig                               |   6 +-
 arch/sh/boot/dts/Makefile                     |   2 +-
 arch/sh/kernel/setup.c                        |   4 +-
 arch/xtensa/Kbuild                            |   2 +-
 arch/xtensa/Kconfig                           |   3 +-
 arch/xtensa/boot/dts/Makefile                 |   2 +-
 arch/xtensa/configs/audio_kc705_defconfig     |   2 +-
 arch/xtensa/configs/cadence_csp_defconfig     |   2 +-
 arch/xtensa/configs/generic_kc705_defconfig   |   2 +-
 arch/xtensa/configs/nommu_kc705_defconfig     |   2 +-
 arch/xtensa/configs/smp_lx200_defconfig       |   2 +-
 arch/xtensa/configs/virt_defconfig            |   2 +-
 arch/xtensa/configs/xip_kc705_defconfig       |   2 +-
 drivers/of/Kconfig                            |   6 +
 drivers/of/fdt.c                              |   2 +-
 drivers/of/unittest.c                         |   6 +-
 scripts/Makefile.build                        |  58 +++----
 scripts/Makefile.dtbs                         | 142 ++++++++++++++++++
 scripts/Makefile.host                         |   5 +
 scripts/Makefile.lib                          | 115 --------------
 scripts/Makefile.vmlinux                      |  44 ++++++
 scripts/link-vmlinux.sh                       |   4 +
 74 files changed, 294 insertions(+), 256 deletions(-)
 delete mode 100644 arch/microblaze/boot/dts/linked_dtb.S
 create mode 100644 scripts/Makefile.dtbs

-- 
2.43.0


             reply	other threads:[~2024-09-04 23:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-04 23:47 Masahiro Yamada [this message]
2024-09-04 23:47 ` [PATCH 01/15] kbuild: add intermediate targets for Flex/Bison in scripts/Makefile.host Masahiro Yamada
2024-09-04 23:47 ` [PATCH 02/15] kbuild: split device tree build rules into scripts/Makefile.dtbs Masahiro Yamada
2024-09-05 13:44   ` Rob Herring
2024-09-04 23:47 ` [PATCH 03/15] kbuild: move non-boot builtin DTBs to .init.rodata section Masahiro Yamada
2024-09-05 13:47   ` Rob Herring
2024-09-04 23:47 ` [PATCH 04/15] kbuild: add generic support for built-in boot DTBs Masahiro Yamada
2024-09-05 14:17   ` Rob Herring
2024-09-06  1:56     ` Masahiro Yamada
2024-09-10  9:35     ` Masahiro Yamada
2024-09-04 23:47 ` [PATCH 05/15] MIPS: migrate to generic rule for built-in DTBs Masahiro Yamada
2024-09-04 23:47 ` [PATCH 06/15] riscv: migrate to the generic rule for built-in DTB Masahiro Yamada
2024-09-09 16:30   ` Conor Dooley
2024-09-04 23:47 ` [PATCH 07/15] LoongArch: " Masahiro Yamada
2024-09-04 23:47 ` [PATCH 08/15] ARC: " Masahiro Yamada
2024-09-04 23:47 ` [PATCH 09/15] openrisc: " Masahiro Yamada
2024-09-04 23:47 ` [PATCH 10/15] xtensa: " Masahiro Yamada
2024-09-04 23:47 ` [PATCH 11/15] nios2: " Masahiro Yamada
2024-09-04 23:47 ` [PATCH 12/15] sh: " Masahiro Yamada
2024-09-04 23:47 ` [PATCH 13/15] microblaze: " Masahiro Yamada
2024-09-04 23:47 ` [PATCH 14/15] kbuild: rename CONFIG_GENERIC_BUILTIN_DTB to CONFIG_BUILTIN_DTB Masahiro Yamada
2024-09-05 14:38   ` Rob Herring
2024-09-06  0:27     ` Masahiro Yamada
2024-09-04 23:47 ` [PATCH 15/15] kbuild: use .init.rodata section unconditionally for cmd_wrap_S_dtb Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240904234803.698424-1-masahiroy@kernel.org \
    --to=masahiroy@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=linux-openrisc@vger.kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=monstr@monstr.eu \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).