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 <[email protected]> # Build Tested-by: Justin Stitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent 89d024a commit 9193963

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)