summaryrefslogtreecommitdiffstats
path: root/security/loadpin
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-05-15 07:35:04 +0200
committerAlexei Starovoitov <ast@kernel.org>2018-05-15 07:52:10 +0200
commit787360f8c2b87d4ae4858bb8736a19c289904885 (patch)
treef7d14c565d49b414c7224e543e91f1a88ab00ec0 /security/loadpin
parentsamples: bpf: rename libbpf.h to bpf_insn.h (diff)
downloadlinux-787360f8c2b87d4ae4858bb8736a19c289904885.tar.xz
linux-787360f8c2b87d4ae4858bb8736a19c289904885.zip
samples: bpf: fix build after move to compiling full libbpf.a
There are many ways users may compile samples, some of them got broken by commit 5f9380572b4b ("samples: bpf: compile and link against full libbpf"). Improve path resolution and make libbpf building a dependency of source files to force its build. Samples should now again build with any of: cd samples/bpf; make make samples/bpf/ make -C samples/bpf cd samples/bpf; make O=builddir make samples/bpf/ O=builddir make -C samples/bpf O=builddir export KBUILD_OUTPUT=builddir make samples/bpf/ make -C samples/bpf Fixes: 5f9380572b4b ("samples: bpf: compile and link against full libbpf") Reported-by: Björn Töpel <bjorn.topel@gmail.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'security/loadpin')
0 files changed, 0 insertions, 0 deletions