[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240427145502.2804311-1-masahiroy@kernel.org>
Date: Sat, 27 Apr 2024 23:54:58 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: linux-kbuild@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>
Subject: [PATCH v2 0/4] kbuild: replace $(srctree)/$(src) with $(src) in Makefiles
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
Powered by blists - more mailing lists