Skip to content

Commit 52410ef

Browse files
committed
esp8266/Makefile: Add clean-modules target.
Helpful when dealing with frozen modules (and whole applications).
1 parent 07241cd commit 52410ef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

esp8266/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,3 +236,7 @@ $(BUILD)/libaxtls.a:
236236
cd ../lib/axtls; $(MAKE) clean
237237
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"
238238
cp ../lib/axtls/_stage/libaxtls.a $@
239+
240+
clean-modules:
241+
git clean -f -d modules
242+
rm -f build/frozen*.c

0 commit comments

Comments
 (0)