Commit 52410ef5 authored by Paul Sokolovsky's avatar Paul Sokolovsky

esp8266/Makefile: Add clean-modules target.

Helpful when dealing with frozen modules (and whole applications).
parent 07241cd3
...@@ -236,3 +236,7 @@ $(BUILD)/libaxtls.a: ...@@ -236,3 +236,7 @@ $(BUILD)/libaxtls.a:
cd ../lib/axtls; $(MAKE) clean cd ../lib/axtls; $(MAKE) clean
cd ../lib/axtls; $(MAKE) all CC="$(CC)" LD="$(LD)" AR="$(AR)" CFLAGS_EXTRA="$(CFLAGS_XTENSA) -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072" cd ../lib/axtls; $(MAKE) all CC="$(CC)" LD="$(LD)" AR="$(AR)" CFLAGS_EXTRA="$(CFLAGS_XTENSA) -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072"
cp ../lib/axtls/_stage/libaxtls.a $@ cp ../lib/axtls/_stage/libaxtls.a $@
clean-modules:
git clean -f -d modules
rm -f build/frozen*.c
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment