Added automatic libesphttpd fetch

pull/30/head
Jeroen Domburg 10 years ago
parent 6acbb69765
commit 9ebde6a58c
  1. 3
      .gitmodules
  2. 9
      Makefile
  3. 1
      libesphttpd

3
.gitmodules vendored

@ -0,0 +1,3 @@
[submodule "libesphttpd"]
path = libesphttpd
url = http://git.spritesserver.nl/libesphttpd.git/

@ -116,8 +116,13 @@ endef
all: checkdirs $(TARGET_OUT) $(FW_BASE) all: checkdirs $(TARGET_OUT) $(FW_BASE)
libesphttpd: libesphttpd/Makefile:
make -C libesphttpd $(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 $(TARGET_OUT): $(APP_AR) libesphttpd
$(vecho) "LD $@" $(vecho) "LD $@"

@ -0,0 +1 @@
Subproject commit c35a585ebf5875be90588ea9d4f7fdf4363d8bbc
Loading…
Cancel
Save