Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
PUBLISHED_FROM=35b80466ffe7cb0052962afd3f38d5951a456443
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Apr 3, 2018
1 parent b4fc901 commit bac8bbf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions fw/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ MGOS_SRC_PATH ?= $(MGOS_PATH)/fw/src
MGOS_INCLUDE_PATH ?= $(MGOS_PATH)/fw/include
COMMON_PATH ?= $(MGOS_PATH)/common
FROZEN_PATH ?= $(MGOS_PATH)/frozen
# Note: Mongoose is added as a library, this is left for backward compatibility.
MONGOOSE_PATH ?= $(MGOS_PATH)/mongoose

MGOS_IPATH ?= $(MGOS_PATH) $(MGOS_INCLUDE_PATH) $(MGOS_SRC_PATH) $(MONGOOSE_PATH) $(FROZEN_PATH)
MGOS_VPATH ?= $(COMMON_PATH) $(MGOS_SRC_PATH) $(MONGOOSE_PATH) $(FROZEN_PATH)
MGOS_VPATH ?= $(COMMON_PATH) $(MGOS_SRC_PATH) $(FROZEN_PATH)
MGOS_IFLAGS = $(addprefix -I,$(MGOS_IPATH))
MGOS_SRCS ?=

ifneq ($(wildcard "$(MONGOOSE_PATH)/mongoose.c"), "")
# Note: Mongoose is added as a library, this is left for backward compatibility.
MONGOOSE_PATH ?= $(MGOS_PATH)/mongoose
ifneq ("$(wildcard $(MONGOOSE_PATH)/mongoose.c)", "")
MGOS_SRCS += mongoose.c
MGOS_VPATH += $(MONGOOSE_PATH)
endif

MG_FEATURES_TINY = -DMG_MODULE_LINES \
Expand Down

0 comments on commit bac8bbf

Please sign in to comment.