Explorar el Código

Add "lwip" target to build open-source lwIP (via submodule).

Paul Sokolovsky hace 9 años
padre
commit
7553dd6d48
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      Makefile

+ 5 - 0
Makefile

@@ -279,6 +279,11 @@ sdk_patch: .sdk_patch_$(VENDOR_SDK)
 empty_user_rf_pre_init.o: empty_user_rf_pre_init.c $(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc
 	$(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc -O2 -c $<
 
+lwip:
+	make -C esp-open-lwip -f Makefile.open install \
+	    CC=$(TOOLCHAIN)/bin/xtensa-lx106-elf-gcc \
+	    PREFIX=$(TOOLCHAIN)
+
 ESP8266_NONOS_SDK_V1.5.2_16_01_29.zip:
 	wget --content-disposition "http://bbs.espressif.com/download/file.php?id=1079"
 ESP8266_NONOS_SDK_V1.5.1_16_01_08.zip: