From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765008AbdAKPMn (ORCPT ); Wed, 11 Jan 2017 10:12:43 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:33455 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752931AbdAKPMj (ORCPT ); Wed, 11 Jan 2017 10:12:39 -0500 From: Stafford Horne To: Shuah Khan , Darren Hart Cc: Bamvor Jian Zhang , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Stafford Horne Subject: [PATCH v2 2/6] selftests/futex: Add headers to makefile dependencies Date: Thu, 12 Jan 2017 00:11:16 +0900 Message-Id: X-Mailer: git-send-email 2.9.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I am working on doing selftests for openrisc and found issues with the futex test not building after changes to the tests source. 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 --- 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 ac35782..a648e7a 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.9.3