forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/tools/testing/selftests/rseq/Makefile
....@@ -4,8 +4,10 @@
44 CLANG_FLAGS += -no-integrated-as
55 endif
66
7
+top_srcdir = ../../../..
8
+
79 CFLAGS += -O2 -Wall -g -I./ -I../../../../usr/include/ -L$(OUTPUT) -Wl,-rpath=./ \
8
- $(CLANG_FLAGS)
10
+ $(CLANG_FLAGS) -I$(top_srcdir)/tools/include
911 LDLIBS += -lpthread -ldl
1012
1113 # Own dependencies because we only want to build against 1st prerequisite, but