Makefile: Unbreak STANDALONE=n build by skipping lwip.

This commit is contained in:
Paul Sokolovsky 2016-04-15 03:44:30 +03:00
parent f4c8cb9e70
commit cfe15bd826

View File

@ -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"