diff options
| author | Johannes Schneider <johannes.schneider@leica-geosystems.com> | 2024-06-20 13:51:26 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-25 11:50:58 +0100 |
| commit | a9138c1f51b11efc82bc593d754585f5c440d017 (patch) | |
| tree | d504e97b8079d2c1d525d3f6d12024afd8a6bdcd /scripts/lib/devtool/import.py | |
| parent | 182e599dbce552a6f0b3d014854fb570d74adc5d (diff) | |
| download | poky-a9138c1f51b11efc82bc593d754585f5c440d017.tar.gz | |
systemd: bpf-framework: 'propagate' the '--sysroot=' for crosscompilation
The eBPFs are pre-compiled during the systemd-build with a different
compiler than the cross-compiler used to build systemd itself.
This is either a 'clang-native' or a gcc (bpf-unknown-none) which do
not see the BUILD_CFLAGS, that point to the correct include search
patch. To address this have systemd's meson.build "propagate" the
--system from the C_FLAGS into the BPF compiler call.
(From OE-Core rev: 3a4d5b06f8e4ebf7b4738a99fe6b352bb03a64ae)
Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/import.py')
0 files changed, 0 insertions, 0 deletions
