Skip to content

Commit 4bf087b

Browse files
agattidpgeorge
authored andcommitted
py/dynruntime.mk: Delete compiled module file on clean.
This commit adds the compiled native module file to the list of files to remove when `make clean` is issued in a native module source directory. Signed-off-by: Alessandro Gatti <[email protected]>
1 parent 1857e62 commit 4bf087b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py/dynruntime.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ MPY_CROSS_FLAGS += -march=$(ARCH)
3838
SRC_O += $(addprefix $(BUILD)/, $(patsubst %.c,%.o,$(filter %.c,$(SRC))) $(patsubst %.S,%.o,$(filter %.S,$(SRC))))
3939
SRC_MPY += $(addprefix $(BUILD)/, $(patsubst %.py,%.mpy,$(filter %.py,$(SRC))))
4040

41+
CLEAN_EXTRA += $(MOD).mpy
42+
4143
################################################################################
4244
# Architecture configuration
4345

0 commit comments

Comments
 (0)