From 30517191a32e11908524b65e865feb0343b63a6f Mon Sep 17 00:00:00 2001 From: Jeroen Domburg Date: Wed, 10 Jun 2015 12:38:55 +0800 Subject: [PATCH] Check out libesphttpd *before* trying to build stuff --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5e81ac0..e67aed0 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,7 @@ libesphttpd/Makefile: libesphttpd: libesphttpd/Makefile $(Q) make -C libesphttpd -$(TARGET_OUT): $(APP_AR) libesphttpd +$(TARGET_OUT): $(APP_AR) $(vecho) "LD $@" $(Q) $(LD) -Llibesphttpd -L$(SDK_LIBDIR) $(LD_SCRIPT) $(LDFLAGS) -Wl,--start-group $(LIBS) $(APP_AR) -Wl,--end-group -o $@ @@ -133,9 +133,9 @@ $(FW_BASE): $(TARGET_OUT) $(Q) mkdir -p $@ $(Q) $(ESPTOOL) elf2image $(TARGET_OUT) --output $@/ -$(APP_AR): $(OBJ) +$(APP_AR): libesphttpd $(OBJ) $(vecho) "AR $@" - $(Q) $(AR) cru $@ $^ + $(Q) $(AR) cru $@ $(OBJ) checkdirs: $(BUILD_DIR)