Ver código fonte

Makefile: Unbreak STANDALONE=n build by skipping lwip.

Paul Sokolovsky 9 anos atrás
pai
commit
cfe15bd826
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      Makefile

+ 2 - 0
Makefile

@@ -283,12 +283,14 @@ empty_user_rf_pre_init.o: empty_user_rf_pre_init.c $(TOOLCHAIN)/bin/xtensa-lx106
 	$(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc -O2 -c $<
 
 lwip: toolchain sdk_patch
+ifeq ($(STANDALONE),y)
 	make -C esp-open-lwip -f Makefile.open install \
 	    CC=$(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc \
 	    PREFIX=$(TOOLCHAIN)
 	cp -a esp-open-lwip/include/arch esp-open-lwip/include/lwip esp-open-lwip/include/netif \
 	    esp-open-lwip/include/lwipopts.h \
 	    $(TOOLCHAIN)/xtensa-lx106-elf/sysroot/usr/include/
+endif
 
 ESP8266_NONOS_SDK_V1.5.2_16_01_29.zip:
 	wget --content-disposition "http://bbs.espressif.com/download/file.php?id=1079"