[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1509941009-11521-1-git-send-email-Lei.Yang@windriver.com>
Date: Mon, 6 Nov 2017 12:03:29 +0800
From: Lei Yang <Lei.Yang@...driver.com>
To: <lei.yang@...driver.com>, <shuahkh@....samsung.com>,
<linux-kselftest@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH] selftests: futex: fix compilation error
I run into below error when building futext
/bin/sh: -c: line 5: syntax error: unexpected end of file
the closing ";" and "\" are necessary.
My OS is "Ubuntu 14.04.5 LTS"
Signed-off-by: Lei Yang <Lei.Yang@...driver.com>
---
tools/testing/selftests/futex/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selftests/futex/Makefile
index f0c0369..943f3a2 100644
--- a/tools/testing/selftests/futex/Makefile
+++ b/tools/testing/selftests/futex/Makefile
@@ -11,9 +11,9 @@ all:
BUILD_TARGET=$(OUTPUT)/$$DIR; \
mkdir $$BUILD_TARGET -p; \
make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\
- if [ -e $$DIR/$(TEST_PROGS) ]; then
- rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/;
- fi
+ if [ -e $$DIR/$(TEST_PROGS) ]; then \
+ rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; \
+ fi \
done
override define RUN_TESTS
--
1.9.1
Powered by blists - more mailing lists