[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1441634692-19494-5-git-send-email-bamvor.zhangjian@linaro.org>
Date: Mon, 7 Sep 2015 22:04:50 +0800
From: Bamvor Jian Zhang <bamvor.zhangjian@...aro.org>
To: linux-kernel@...r.kernel.org
Cc: broonie@...nel.org, khilman@...aro.org, tyler.baker@...aro.org,
bamvor.zhangjian@...aro.org, shuahkh@....samsung.com,
mpe@...erman.id.au
Subject: [PATCH v2 4/6] selftests: mqueue: simpification the Makefile
Suggested-by: Michael Ellermani <mpe@...erman.id.au>
Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@...aro.org>
---
tools/testing/selftests/mqueue/Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/mqueue/Makefile b/tools/testing/selftests/mqueue/Makefile
index ca8327f..9f51aaa 100644
--- a/tools/testing/selftests/mqueue/Makefile
+++ b/tools/testing/selftests/mqueue/Makefile
@@ -1,8 +1,7 @@
CFLAGS += -O2
+LDLIBS = -lrt -lpthread -lpopt
-all:
- $(CC) $(CFLAGS) mq_open_tests.c -o mq_open_tests -lrt
- $(CC) $(CFLAGS) -o mq_perf_tests mq_perf_tests.c -lrt -lpthread -lpopt
+all: mq_open_tests mq_perf_tests
include ../lib.mk
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists