diff options
author | Ivan Khoronzhuk <[email protected]> | 2019-10-11 03:28:07 +0300 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-10-12 16:08:59 -0700 |
commit | b2327c107d6255e4ea591042120514bedcdc616a (patch) | |
tree | 410db54d49ab91abb589760ef79af3dcad977708 /tools/perf/scripts/python/check-perf-trace.py | |
parent | d8ceae91e9f031232d225a7159cca36e9eefdf85 (diff) |
samples/bpf: Add sysroot support
Basically it only enables that was added by previous couple fixes.
Sysroot contains correct libs installed and its headers. Useful when
working with NFC or virtual machine.
Usage example:
clean (on demand)
make ARCH=arm -C samples/bpf clean
make ARCH=arm -C tools clean
make ARCH=arm clean
configure and install headers:
make ARCH=arm defconfig
make ARCH=arm headers_install
build samples/bpf:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- samples/bpf/ \
SYSROOT="path/to/sysroot"
Signed-off-by: Ivan Khoronzhuk <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions