OSDN Git Service

selftests/futex: Add headers to makefile dependencies
authorStafford Horne <shorne@gmail.com>
Wed, 11 Jan 2017 15:11:16 +0000 (00:11 +0900)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 19 Jan 2017 17:30:21 +0000 (10:30 -0700)
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>
tools/testing/selftests/futex/functional/Makefile

index ac35782..a648e7a 100644 (file)
@@ -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 \