瀏覽代碼

selftests/futex: Add headers to makefile dependencies

The futex makefile did not contain dependencies for all headers, so if
we make changes to logging.h rebuild will not happen. Add headers to
fix it up.

Signed-off-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Stafford Horne 8 年之前
父節點
當前提交
99c21f6d00
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      tools/testing/selftests/futex/functional/Makefile

+ 4 - 1
tools/testing/selftests/futex/functional/Makefile

@@ -2,7 +2,10 @@ INCLUDES := -I../include -I../../
 CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES)
 LDFLAGS := $(LDFLAGS) -pthread -lrt
 
-HEADERS := ../include/futextest.h
+HEADERS := \
+	../include/futextest.h \
+	../include/atomic.h \
+	../include/logging.h
 TEST_GEN_FILES := \
 	futex_wait_timeout \
 	futex_wait_wouldblock \