Added automatic libesphttpd fetch

This commit is contained in:
Jeroen Domburg
2015-06-10 12:24:50 +08:00
parent 6acbb69765
commit 9ebde6a58c
3 changed files with 11 additions and 2 deletions
+7 -2
View File
@@ -116,8 +116,13 @@ endef
all: checkdirs $(TARGET_OUT) $(FW_BASE)
libesphttpd:
make -C libesphttpd
libesphttpd/Makefile:
$(Q) echo "No libesphttpd submodule found. Using git to fetch it..."
$(Q) git submodule init
$(Q) git submodule update
libesphttpd: libesphttpd/Makefile
$(Q) make -C libesphttpd
$(TARGET_OUT): $(APP_AR) libesphttpd
$(vecho) "LD $@"