Skip to content

Commit 9193963

Browse files
author
Benjamin Tissoires
committed
selftests/hid: force using our compiled libbpf headers
Turns out that we were relying on the globally installed headers, not the ones we freshly compiled. Add a manual include in CFLAGS to sort this out. Tested-by: Nick Desaulniers <ndesaulniers@google.com> # Build Tested-by: Justin Stitt <justinstitt@google.com> Link: https://lore.kernel.org/r/20230825-wip-selftests-v3-3-639963c54109@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
1 parent 89d024a commit 9193963

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/testing/selftests/hid/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ CXX ?= $(CROSS_COMPILE)g++
2222
HOSTPKG_CONFIG := pkg-config
2323

2424
CFLAGS += -g -O0 -rdynamic -Wall -Werror -I$(OUTPUT)
25+
CFLAGS += -I$(OUTPUT)/tools/include
26+
2527
LDLIBS += -lelf -lz -lrt -lpthread
2628

2729
# Silence some warnings when compiled with clang

0 commit comments

Comments
 (0)