forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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