OSDN Git Service

selftests/bpf: Fix out-of-tree build
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Wed, 13 Jan 2021 16:33:17 +0000 (17:33 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 14 Jan 2021 03:05:39 +0000 (19:05 -0800)
commit5837cedef6f33e01d1c4ad90ee4e966bcc6f9c30
tree739b0a3b5d39748c9382a81542a3abafb5bc4255
parentde11ae4f56fdc53474c08b03142860428e6c5655
selftests/bpf: Fix out-of-tree build

When building out-of-tree, the .skel.h files are generated into the
$(OUTPUT) directory, rather than $(CURDIR). Add $(OUTPUT) to the include
paths.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210113163319.1516382-3-jean-philippe@linaro.org
tools/testing/selftests/bpf/Makefile