From 52410ef5b3ef04d416637f82eed1ca19b11b5761 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 10 Jun 2017 18:13:43 +0300 Subject: [PATCH] esp8266/Makefile: Add clean-modules target. Helpful when dealing with frozen modules (and whole applications). --- esp8266/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/esp8266/Makefile b/esp8266/Makefile index 833ebd5821..ff35689f4d 100644 --- a/esp8266/Makefile +++ b/esp8266/Makefile @@ -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