[PATCH] Makefile: Use relative paths for debugging symbols.
authorVagrant Cascadian <vagrant@reproducible-builds.org>
Wed, 17 Aug 2022 02:00:04 +0000 (19:00 -0700)
committerVagrant Cascadian <vagrant@debian.org>
Fri, 6 Jan 2023 03:38:24 +0000 (03:38 +0000)
commit52f04168e30121a75302fd901f218a80ebea68cf
treef4e3b67938be5fb5d5d54f8a5d049a1c2a728401
parent71e969aeaffc81501769c13ee44f52b6761b0d50
[PATCH] Makefile: Use relative paths for debugging symbols.

The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use
-ffile-prefix-map and --debug-prefix-map, respectively, to use
relative paths for occurrences of __FILE__ and debug paths.

This enables reproducible builds regardless of the absolute path to
the build directory:

  https://reproducible-builds.org/docs/build-path/

Series-to: u-boot
Signed-off-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Gbp-Pq: Name Makefile-Use-relative-paths-for-debugging-symbols.patch
Makefile