diff options
author | 2019-10-11 03:28:05 +0300 | |
---|---|---|
committer | 2019-10-12 16:08:59 -0700 | |
commit | 793a349cd8192ad67c784d231011591a57eac001 (patch) | |
tree | d149e16fd5c41710cf7de68023ff99ee0a56ed70 /scripts/bpf_helpers_doc.py | |
parent | libbpf: Don't use cxx to test_libpf target (diff) | |
download | linux-dev-793a349cd8192ad67c784d231011591a57eac001.tar.xz linux-dev-793a349cd8192ad67c784d231011591a57eac001.zip |
libbpf: Add C/LDFLAGS to libbpf.so and test_libpf targets
In case of C/LDFLAGS there is no way to pass them correctly to build
command, for instance when --sysroot is used or external libraries
are used, like -lelf, wich can be absent in toolchain. This can be
used for samples/bpf cross-compiling allowing to get elf lib from
sysroot.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20191011002808.28206-13-ivan.khoronzhuk@linaro.org
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions