Skip to content

Commit 89dc403

Browse files
tuananhlfcAlexei Starovoitov
authored andcommitted
samples/bpf: README: Update build dependencies required
Update samples/bpf/README.rst to add pahole to the build dependencies list. Add the reference to "Documentation/process/changes.rst" for minimum version required so that the version required will not be outdated in the future. Signed-off-by: Anh Tuan Phan <tuananhlfc@gmail.com> Link: https://lore.kernel.org/r/aecaf7a2-9100-cd5b-5cf4-91e5dbb2c90d@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
1 parent 4b3ccca commit 89dc403

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

samples/bpf/README.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ Build dependencies
88
==================
99

1010
Compiling requires having installed:
11-
* clang >= version 3.4.0
12-
* llvm >= version 3.7.1
11+
* clang
12+
* llvm
13+
* pahole
1314

14-
Note that LLVM's tool 'llc' must support target 'bpf', list version
15-
and supported targets with command: ``llc --version``
15+
Consult :ref:`Documentation/process/changes.rst <changes>` for the minimum
16+
version numbers required and how to update them. Note that LLVM's tool
17+
'llc' must support target 'bpf', list version and supported targets with
18+
command: ``llc --version``
1619

1720
Clean and configuration
1821
-----------------------
@@ -24,7 +27,8 @@ after some changes (on demand)::
2427
make -C samples/bpf clean
2528
make clean
2629

27-
Configure kernel, defconfig for instance::
30+
Configure kernel, defconfig for instance
31+
(see "tools/testing/selftests/bpf/config" for a reference config)::
2832

2933
make defconfig
3034

0 commit comments

Comments
 (0)