From: Masahiro Yamada <masahiroy@kernel.org>
To: linux-kbuild@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Masahiro Yamada <masahiroy@kernel.org>
Subject: [PATCH v2 0/4] kbuild: replace $(srctree)/$(src) with $(src) in Makefiles
Date: Sat, 27 Apr 2024 23:54:58 +0900 [thread overview]
Message-ID: <20240427145502.2804311-1-masahiroy@kernel.org> (raw)
This makes upstream/downstream Makefiles look consistent.
Masahiro Yamada (4):
arch: use $(obj)/ instead of $(src)/ for preprocessed linker scripts
kbuild: do not add $(srctree) or $(objtree) to header search paths
kbuild: use $(obj)/ instead of $(src)/ for common pattern rules
kbuild: use $(src) instead of $(srctree)/$(src) for source directory
Documentation/Makefile | 8 +++---
Documentation/devicetree/bindings/Makefile | 6 ++--
Documentation/kbuild/makefiles.rst | 12 ++++----
Makefile | 7 +++++
arch/arc/boot/dts/Makefile | 3 +-
arch/arm/Kbuild | 2 +-
arch/arm/boot/Makefile | 3 +-
arch/arm/mach-s3c/Makefile | 2 +-
arch/arm/plat-orion/Makefile | 2 +-
arch/arm/tools/Makefile | 2 +-
arch/arm64/kernel/vdso/Makefile | 2 +-
arch/arm64/kernel/vdso32/Makefile | 2 +-
arch/arm64/kvm/Makefile | 4 +--
arch/arm64/kvm/hyp/Makefile | 2 +-
arch/csky/boot/dts/Makefile | 4 +--
arch/csky/kernel/vdso/Makefile | 4 +--
arch/loongarch/kvm/Makefile | 2 +-
arch/loongarch/vdso/Makefile | 2 +-
arch/mips/kernel/syscalls/Makefile | 2 +-
arch/mips/vdso/Makefile | 4 +--
arch/nios2/boot/dts/Makefile | 3 +-
arch/parisc/kernel/vdso32/Makefile | 4 +--
arch/parisc/kernel/vdso64/Makefile | 4 +--
arch/powerpc/boot/Makefile | 6 ++--
arch/powerpc/boot/dts/Makefile | 3 +-
arch/powerpc/boot/dts/fsl/Makefile | 3 +-
arch/powerpc/kernel/vdso/Makefile | 8 +++---
arch/riscv/kernel/compat_vdso/Makefile | 2 +-
arch/riscv/kernel/vdso/Makefile | 2 +-
arch/riscv/kvm/Makefile | 2 +-
arch/s390/kernel/syscalls/Makefile | 4 +--
arch/s390/kernel/vdso32/Makefile | 4 +--
arch/s390/kernel/vdso64/Makefile | 4 +--
arch/sh/kernel/vsyscall/Makefile | 4 +--
arch/sparc/vdso/Makefile | 2 +-
arch/um/kernel/Makefile | 2 +-
arch/x86/boot/Makefile | 2 +-
arch/x86/entry/vdso/Makefile | 2 +-
arch/x86/kernel/Makefile | 2 +-
arch/x86/kernel/cpu/Makefile | 2 +-
arch/x86/mm/Makefile | 2 +-
arch/x86/um/vdso/Makefile | 2 +-
arch/xtensa/boot/dts/Makefile | 3 +-
certs/Makefile | 4 +--
drivers/Makefile | 5 ----
drivers/crypto/intel/qat/qat_420xx/Makefile | 2 +-
drivers/crypto/intel/qat/qat_4xxx/Makefile | 2 +-
drivers/crypto/intel/qat/qat_c3xxx/Makefile | 2 +-
drivers/crypto/intel/qat/qat_c3xxxvf/Makefile | 2 +-
drivers/crypto/intel/qat/qat_c62x/Makefile | 2 +-
drivers/crypto/intel/qat/qat_c62xvf/Makefile | 2 +-
.../crypto/intel/qat/qat_dh895xcc/Makefile | 2 +-
.../crypto/intel/qat/qat_dh895xccvf/Makefile | 2 +-
drivers/gpu/drm/amd/amdgpu/Makefile | 2 +-
drivers/gpu/drm/arm/display/komeda/Makefile | 4 +--
drivers/gpu/drm/i915/Makefile | 4 +--
drivers/gpu/drm/imagination/Makefile | 2 +-
drivers/gpu/drm/msm/Makefile | 8 +++---
drivers/gpu/drm/nouveau/Kbuild | 10 +++----
drivers/gpu/drm/xe/Makefile | 10 +++----
drivers/hid/amd-sfh-hid/Makefile | 2 +-
drivers/hid/intel-ish-hid/Makefile | 2 +-
drivers/md/dm-vdo/Makefile | 2 +-
.../net/ethernet/aquantia/atlantic/Makefile | 2 +-
drivers/net/ethernet/chelsio/libcxgb/Makefile | 2 +-
drivers/net/ethernet/fungible/funeth/Makefile | 2 +-
drivers/net/ethernet/hisilicon/hns3/Makefile | 2 +-
.../broadcom/brcm80211/brcmfmac/Makefile | 4 +--
.../broadcom/brcm80211/brcmfmac/bca/Makefile | 6 ++--
.../broadcom/brcm80211/brcmfmac/cyw/Makefile | 6 ++--
.../broadcom/brcm80211/brcmfmac/wcc/Makefile | 6 ++--
.../broadcom/brcm80211/brcmsmac/Makefile | 6 ++--
.../broadcom/brcm80211/brcmutil/Makefile | 2 +-
.../net/wireless/intel/iwlwifi/dvm/Makefile | 2 +-
.../net/wireless/intel/iwlwifi/mei/Makefile | 2 +-
.../net/wireless/intel/iwlwifi/mvm/Makefile | 2 +-
.../net/wireless/intel/iwlwifi/tests/Makefile | 2 +-
.../wireless/realtek/rtl818x/rtl8180/Makefile | 2 +-
.../wireless/realtek/rtl818x/rtl8187/Makefile | 2 +-
drivers/scsi/aic7xxx/Makefile | 12 ++++----
drivers/staging/rtl8723bs/Makefile | 2 +-
fs/iomap/Makefile | 2 +-
fs/unicode/Makefile | 14 +++++-----
fs/xfs/Makefile | 4 +--
init/Makefile | 2 +-
lib/Makefile | 6 ++--
lib/raid6/Makefile | 2 +-
net/wireless/Makefile | 2 +-
rust/Makefile | 6 ++--
samples/bpf/Makefile | 2 +-
samples/hid/Makefile | 2 +-
scripts/Kbuild.include | 3 +-
scripts/Makefile.asm-generic | 6 ++--
scripts/Makefile.build | 28 +++++++++----------
scripts/Makefile.clean | 2 +-
scripts/Makefile.host | 4 +--
scripts/Makefile.lib | 10 +++----
scripts/Makefile.modpost | 2 +-
scripts/dtc/Makefile | 6 ++--
scripts/gdb/linux/Makefile | 2 +-
scripts/genksyms/Makefile | 4 +--
scripts/kconfig/Makefile | 8 +++---
security/tomoyo/Makefile | 2 +-
usr/Makefile | 2 +-
usr/include/Makefile | 2 +-
105 files changed, 198 insertions(+), 207 deletions(-)
--
2.40.1
next reply other threads:[~2024-04-27 14:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-27 14:54 Masahiro Yamada [this message]
2024-04-27 14:54 ` [PATCH v2 1/4] arch: use $(obj)/ instead of $(src)/ for preprocessed linker scripts Masahiro Yamada
2024-04-27 14:55 ` [PATCH v2 2/4] kbuild: do not add $(srctree) or $(objtree) to header search paths Masahiro Yamada
2024-05-07 8:54 ` Nicolas Schier
2024-04-27 14:55 ` [PATCH v2 3/4] kbuild: use $(obj)/ instead of $(src)/ for common pattern rules Masahiro Yamada
2024-04-27 14:55 ` [PATCH v2 4/4] kbuild: use $(src) instead of $(srctree)/$(src) for source directory Masahiro Yamada
2024-05-09 8:59 ` Krzysztof Kozlowski
2024-05-09 19:36 ` 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=20240427145502.2804311-1-masahiroy@kernel.org \
--to=masahiroy@kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.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 read-only IMAP folder(s) and NNTP newsgroup(s).