From patchwork Sat Apr 27 14:54:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 13645666 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F3F61366; Sat, 27 Apr 2024 14:55:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714229708; cv=none; b=sPM1TtT9tMiYLq8WhtfC8PNG7SKafN5irUkEMu9Ar7Fq+cKy3rL0ue1bPlEQXUriuBh4lAkrSI4tMom3UR8vkFEpQLXLmzZPUoLqErgZjg2X8f3c74cDm4oze075aHgTwmuicWX8SUp8LbNx+G/CK4lUdf6ymMFGCucynp+juHs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714229708; c=relaxed/simple; bh=crcqESX/653Pg3zlDPRgRvb7OyyPp302KtgbEzu+PdA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=W+YvONNbQg4TeuqQDolttj1PCv9RFCEBmYM+YrDn8G9HOIbE0+xfl6ovLTK6KWuKWOqAVHI6EVhsWQi1RGXoQAZs/ryz32BzIJDDkZmXYKyeGFKsyPUBjwu75AA+hmWd/OdIrQwoneim2EbgMLLrTXjOtR60AMHFFfqbUZ6X8qs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dj83KUhO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dj83KUhO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 166A6C113CE; Sat, 27 Apr 2024 14:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714229708; bh=crcqESX/653Pg3zlDPRgRvb7OyyPp302KtgbEzu+PdA=; h=From:To:Cc:Subject:Date:From; b=dj83KUhOYjnUOLfrMq3Pr+znV1JSNNWKQp9QoTQBvxCQzi3vAPrMj60yP2m+04Bmz nw+XTMicHg4uzq86ZCaeP1UmtS4A00uScrN+kko87L+PVX9dKJLccRdOjIm+Qs8mlk TScDVnQdUKL9qqHJYzHFvzf+QY6g/Tix1CFskV4f3BlBt8OMJJebQVMh4gcufeIqNY yNpmG+u8T5VcMWhYky5CqBYO5qB9dEmbupIDDGX+clRriM4lIzMGVnF6rwEKtSddd7 pHi6aeUcGr52f4ob/4r/Rpd+W+ng4kJr3D0Pr+cNia5VF4PGTiihwvGkaY/qYN83Mj yawXPZ2S4eN/Q== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [PATCH v2 0/4] kbuild: replace $(srctree)/$(src) with $(src) in Makefiles Date: Sat, 27 Apr 2024 23:54:58 +0900 Message-Id: <20240427145502.2804311-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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(-)