You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/12/18 14:57:12 UTC
[incubator-nuttx-apps] branch master updated: ltp: fix build fail
issue
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 384d423 ltp: fix build fail issue
384d423 is described below
commit 384d423415a93c1e3bf70554e43154c98fdb7a2d
Author: nietingting <ni...@xiaomi.com>
AuthorDate: Fri Dec 18 15:26:01 2020 +0800
ltp: fix build fail issue
Signed-off-by: nietingting <ni...@xiaomi.com>
---
testing/ltp/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile
index b1fd321..f88658a 100644
--- a/testing/ltp/Makefile
+++ b/testing/ltp/Makefile
@@ -20,6 +20,7 @@ LTP_URL = https://github.com/linux-test-project/ltp.git
TESTDIR = $(LTP_UNPACK)/testcases/open_posix_testsuite
+ifneq ($(wildcard $(TESTDIR)),)
ifeq ($(CONFIG_FS_AIO),)
BLACKWORDS += "aio.h"
BLACKWORDS += "SIGPOLL"
@@ -102,6 +103,7 @@ MODULE = $(CONFIG_TESTING_LTP)
CSRCS := $(LTP_CSRCS)
CFLAGS += -I$(LTP_UNPACK)
CFLAGS += -I$(TESTDIR)/include
+endif
$(LTP_UNPACK):
$(Q) echo "git clone $(LTP_URL)"