summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2019-10-11 02:27:55 +0200
committerAlexei Starovoitov <ast@kernel.org>2019-10-13 01:08:59 +0200
commit39e0c3649f2ef5fc1beac4f6cc5f5f9ddb1885a9 (patch)
tree06b51285f86b29665b5833966165f64b0026f73c /samples
parentsamples/bpf: Fix HDR_PROBE "echo" (diff)
downloadlinux-39e0c3649f2ef5fc1beac4f6cc5f5f9ddb1885a9.tar.xz
linux-39e0c3649f2ef5fc1beac4f6cc5f5f9ddb1885a9.zip
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
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index 4f61725b1d86..045fa43842e6 100644
--- a/samples/bpf/Makefile
+++ b/samples/bpf/Makefile
@@ -145,7 +145,6 @@ always += sampleip_kern.o
always += lwt_len_hist_kern.o
always += xdp_tx_iptunnel_kern.o
always += test_map_in_map_kern.o
-always += cookie_uid_helper_example.o
always += tcp_synrto_kern.o
always += tcp_rwnd_kern.o
always += tcp_bufs_kern.o