ltp: fix build fail issue
Signed-off-by: nietingting <nietingting@xiaomi.com>
This commit is contained in:
parent
ca64cefc91
commit
384d423415
@ -20,6 +20,7 @@ LTP_URL = https://github.com/linux-test-project/ltp.git
|
|||||||
|
|
||||||
TESTDIR = $(LTP_UNPACK)/testcases/open_posix_testsuite
|
TESTDIR = $(LTP_UNPACK)/testcases/open_posix_testsuite
|
||||||
|
|
||||||
|
ifneq ($(wildcard $(TESTDIR)),)
|
||||||
ifeq ($(CONFIG_FS_AIO),)
|
ifeq ($(CONFIG_FS_AIO),)
|
||||||
BLACKWORDS += "aio.h"
|
BLACKWORDS += "aio.h"
|
||||||
BLACKWORDS += "SIGPOLL"
|
BLACKWORDS += "SIGPOLL"
|
||||||
@ -102,6 +103,7 @@ MODULE = $(CONFIG_TESTING_LTP)
|
|||||||
CSRCS := $(LTP_CSRCS)
|
CSRCS := $(LTP_CSRCS)
|
||||||
CFLAGS += -I$(LTP_UNPACK)
|
CFLAGS += -I$(LTP_UNPACK)
|
||||||
CFLAGS += -I$(TESTDIR)/include
|
CFLAGS += -I$(TESTDIR)/include
|
||||||
|
endif
|
||||||
|
|
||||||
$(LTP_UNPACK):
|
$(LTP_UNPACK):
|
||||||
$(Q) echo "git clone $(LTP_URL)"
|
$(Q) echo "git clone $(LTP_URL)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user