[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <00e68264b8ea46158a1fb2f09985d6b34595809d.1505257614.git.shuahkh@osg.samsung.com>
Date: Tue, 12 Sep 2017 17:53:00 -0600
From: Shuah Khan <shuahkh@....samsung.com>
To: yamada.masahiro@...ionext.com, mmarek@...e.com, shuah@...nel.org,
tglx@...utronix.de, mingo@...hat.com, peterz@...radead.org,
bamvor.zhangjian@...aro.org, emilio.lopez@...labora.co.uk,
corbet@....net
Cc: Shuah Khan <shuahkh@....samsung.com>, tytso@....edu,
ebiederm@...ssion.com, Tim.Bird@...y.com,
gregkh@...uxfoundation.org, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: [PATCH 07/11] selftests: sync: use TEST_CUSTOM_PROGS instead of TEST_PROGS
lib.mk var TEST_CUSTOM_PROGS is for tests that need custom build
rules. TEST_PROGS is used for test shell scripts. Fix it to use
TEST_CUSTOM_PROGS. lib.mk will run and install them.
Signed-off-by: Shuah Khan <shuahkh@....samsung.com>
---
tools/testing/selftests/sync/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/sync/Makefile b/tools/testing/selftests/sync/Makefile
index 4981c6b6d050..43db80b71e80 100644
--- a/tools/testing/selftests/sync/Makefile
+++ b/tools/testing/selftests/sync/Makefile
@@ -2,9 +2,11 @@ CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra
CFLAGS += -I../../../../usr/include/
LDFLAGS += -pthread
-TEST_PROGS = sync_test
+# lib.mk TEST_CUSTOM_PROGS var is for custome tests that need special
+# build rules. lib.mk will run and install them.
+TEST_CUSTOM_PROGS = sync_test
-all: $(TEST_PROGS)
+all: $(TEST_CUSTOM_PROGS)
include ../lib.mk
--
2.11.0
Powered by blists - more mailing lists