Skip to content

Commit

Permalink
py/dynruntime.mk: Delete compiled module file on clean.
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
agatti authored and dpgeorge committed Dec 22, 2024
1 parent 1857e62 commit 4bf087b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py/dynruntime.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ MPY_CROSS_FLAGS += -march=$(ARCH)
SRC_O += $(addprefix $(BUILD)/, $(patsubst %.c,%.o,$(filter %.c,$(SRC))) $(patsubst %.S,%.o,$(filter %.S,$(SRC))))
SRC_MPY += $(addprefix $(BUILD)/, $(patsubst %.py,%.mpy,$(filter %.py,$(SRC))))

CLEAN_EXTRA += $(MOD).mpy

################################################################################
# Architecture configuration

Expand Down

0 comments on commit 4bf087b

Please sign in to comment.