From 99c21f6d004d07667d7345e56e44a5b805e1dfa9 Mon Sep 17 00:00:00 2001 From: Stafford Horne Date: Thu, 12 Jan 2017 00:11:16 +0900 Subject: [PATCH] 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 Signed-off-by: Shuah Khan --- tools/testing/selftests/futex/functional/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 \ -- 2.20.1