1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-18 18:49:51 +00:00
Files
poky/meta/recipes-devtools
Khem Raj ea00dbbcf3 bitbake.conf: Switch prefix mapping to use -ffile-prefix-map
-ffile-prefix map is more comprehensive when it comes to reproducible
builds and its superset of all prefix-mapping options in compilers

This makes is cleaner and workable across gcc and clang, clang does not
support -fcanon-prefix-map and it has to be explicitly omitted when using
clang.

There are lambdas generated in templates by clang which still get the
absolute paths despite -fdebug-prefix-map, this helps with that as well.

nasm is an outlier and we have fixed it by adding -fdebug-prefix-map option
luckily we do not pass DEBUG_PREFIX_MAP to nasm, in all recipes which use
nasm either pass -fdebug-prefix-map explicitly to nasm or they rewrite it
to use nasm flags syntax.

We have discussed this in past [1]

[1] https://patchwork.yoctoproject.org/project/oe-core/patch/20230428032030.2047920-1-raj.khem@gmail.com/#10281

(From OE-Core rev: ff73fa7ef7666a6dbe34f15515bc3ab6e574c5b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jacob Kroon <jacob.kroon@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
..
2025-03-17 17:09:22 +00:00
2025-04-03 11:06:19 +01:00
2025-03-19 12:09:06 +00:00
2025-01-04 12:34:04 +00:00
2025-04-10 11:05:34 +01:00
2025-04-08 15:49:17 +01:00
2025-04-17 11:03:22 +01:00
2025-03-17 17:09:22 +00:00
2025-04-10 11:05:34 +01:00
2025-03-17 22:38:32 +00:00
2025-03-27 11:19:03 +00:00
2025-03-06 11:16:47 +00:00
2025-03-06 11:16:47 +00:00
2025-04-17 11:03:22 +01:00
2025-04-17 11:03:22 +01:00
2025-04-10 11:05:34 +01:00
2025-04-03 11:06:20 +01:00
2025-01-20 13:38:59 +00:00
2025-04-20 10:11:16 +01:00
2025-02-05 12:49:55 +00:00
2025-02-05 12:49:55 +00:00
2025-03-27 11:19:04 +00:00
2025-03-17 17:09:22 +00:00
2025-02-05 12:49:56 +00:00