diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2021-09-23 11:20:40 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-28 17:55:04 +0100 |
commit | 165b089a7dd0ee3769703336eed8eb936cdfaf1e (patch) | |
tree | 7ceb21a0e6986de4bbf40f5617bcf68382e73eed /scripts/lib/scriptutils.py | |
parent | 0afeb9f7402e3a86d07558b49f1218dcaaf46c80 (diff) | |
download | poky-165b089a7dd0ee3769703336eed8eb936cdfaf1e.tar.gz |
kernel.bbclass: remove unnecessary dead code
The grep pattern seems to have been wrong ever since we stopped adding
the -ffile-prefix-map via a patch in commit 20aea61385e, because the
actual upstream gcc produces
-ffile-prefix-map=<old>=<new>
and not
-ffile-prefix-map=<old=new>
Besides, these *-prefix-map options are already used when building the
kernel due to the setting of KERNEL_CC, and the kernel build system
itself also probes for and uses at least -fmacro-prefix-map (hence
taking care of __FILE__ etc., but not necessarily things that go in
.debug_info sections).
(From OE-Core rev: 5d56de8cd653d2a3a7f4c104d50c14e22d412f66)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions