Fix mongoose CI test

CL: none

PUBLISHED_FROM=9510e460251c250cb6a67a40edc0af515044f9fe
This commit is contained in:
Deomid Ryabkov 2019-02-08 17:33:27 +00:00 committed by Cesanta Bot
parent 0b2e474d52
commit c3057df3f5

View File

@ -9,7 +9,9 @@ SRC_DIR = ../src
COMMON_DIR_PUB = ../src/common
COMMON_DIR_DEV = ../../common
ifneq ("$(wildcard ../../fw/defs)","")
# Our dev repo and public mongoose repo have different layouts, so here
# we make it work on both
ifneq ("$(wildcard ../../fw)","")
COMMON_PARENT = ../..
else
COMMON_PARENT = $(SRC_DIR)
@ -19,8 +21,6 @@ TEST_SOURCES = unit_test.c test_util.c test_main.c
AMALGAMATED_SOURCES = ../mongoose.c
KRYPTON_PATH = $(REPO_ROOT)/krypton
# Our dev repo and public mongoose repo have different layouts, so here
# we make it work on both
VPATH = $(MONGOOSE_DIR) $(SRC_DIR) $(COMMON_DIR_PUB) $(COMMON_DIR_DEV) $(COMMON_PARENT)
# or Krypton, or mbedTLS