aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/futex
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-01-12 00:11:16 +0900
committerShuah Khan <shuahkh@osg.samsung.com>2017-01-19 10:30:21 -0700
commit99c21f6d004d07667d7345e56e44a5b805e1dfa9 (patch)
treec5693fb1322c160c4ef0d8383422a294fbb81718 /tools/testing/selftests/futex
parentselftests/futex: Add stdio used for logging (diff)
downloadlinux-dev-99c21f6d004d07667d7345e56e44a5b805e1dfa9.tar.xz
linux-dev-99c21f6d004d07667d7345e56e44a5b805e1dfa9.zip
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>
Diffstat (limited to 'tools/testing/selftests/futex')
-rw-r--r--tools/testing/selftests/futex/functional/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile
index ac35782ce1e5..a648e7a6cbc3 100644
--- a/tools/testing/selftests/futex/functional/Makefile
+++ b/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 \