esp8266/Makefile: Add clean-modules target.

Helpful when dealing with frozen modules (and whole applications).
This commit is contained in:
Paul Sokolovsky 2017-06-10 18:13:43 +03:00
parent 07241cd37a
commit 52410ef5b3
1 changed files with 4 additions and 0 deletions

View File

@ -236,3 +236,7 @@ $(BUILD)/libaxtls.a:
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"
cp ../lib/axtls/_stage/libaxtls.a $@
clean-modules:
git clean -f -d modules
rm -f build/frozen*.c