]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit43bf520db9e612d6f674d51de34f851af36dedd5
tree739b0a3b5d39748c9382a81542a3abafb5bc4255
parent7dd477a1a32be7fe46dd8708d6573491caeb8ff8
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