[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250313-kbuild-prefix-map-v1-0-38cea8448c5f@weissschuh.net>
Date: Thu, 13 Mar 2025 16:59:08 +0100
From: Thomas Weißschuh <linux@...ssschuh.net>
To: Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <nicolas@...sle.eu>,
Jonathan Corbet <corbet@....net>, Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>, Ben Hutchings <ben@...adent.org.uk>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org,
Thomas Weißschuh <linux@...ssschuh.net>
Subject: [PATCH 0/4] kbuild: make all file references relative to source
root
-fmacro-prefix-map only affects __FILE__ and __BASE_FILE__.
Other references, for example in debug information, is not affected.
This makes handling of file references in the compiler output harder to
use and creates problems for reproducible builds.
Switch to -ffile-prefix map which affects all references.
Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
---
Thomas Weißschuh (4):
kbuild: make all file references relative to source root
kbuild: doc: reproducible-builds: drop section "Absolute filenames"
x86/boot: Switch to -ffile-prefix-map
x86/boot/compressed: Switch to -ffile-prefix-map
Documentation/kbuild/reproducible-builds.rst | 16 ----------------
Makefile | 2 +-
arch/x86/boot/Makefile | 2 +-
arch/x86/boot/compressed/Makefile | 2 +-
4 files changed, 3 insertions(+), 19 deletions(-)
---
base-commit: bc5431693696b3f928b0b7acf8d7a120127db7a4
change-id: 20250312-kbuild-prefix-map-5ae76c209e7a
Best regards,
--
Thomas Weißschuh <linux@...ssschuh.net>
Powered by blists - more mailing lists