]> git.baikalelectronics.ru Git - kernel.git/commit
samples/bpf: Fix cookie_uid_helper_example obj build
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Fri, 11 Oct 2019 00:27:55 +0000 (03:27 +0300)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 12 Oct 2019 23:08:59 +0000 (16:08 -0700)
commitefa4460474e9beaeed42a100a3a2173cdc3a77e2
tree06b51285f86b29665b5833966165f64b0026f73c
parentea58e7c1c2ba0fb104da7702344d24a0f0bd0be2
samples/bpf: Fix cookie_uid_helper_example obj build

Don't list userspace "cookie_uid_helper_example" object in list for
bpf objects.

'always' target is used for listing bpf programs, but
'cookie_uid_helper_example.o' is a user space ELF file, and covered
by rule `per_socket_stats_example`, so shouldn't be in 'always'.
Let us remove `always += cookie_uid_helper_example.o`, which avoids
breaking cross compilation due to mismatched includes.

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-3-ivan.khoronzhuk@linaro.org
samples/bpf/Makefile