diff options
Diffstat (limited to 'core/cleanbuild.mk')
-rw-r--r-- | core/cleanbuild.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/cleanbuild.mk b/core/cleanbuild.mk index 45f178c..c17902d 100644 --- a/core/cleanbuild.mk +++ b/core/cleanbuild.mk @@ -78,6 +78,10 @@ else $(info Clean step: $(INTERNAL_CLEAN_STEP.$(step))) \ $(shell $(INTERNAL_CLEAN_STEP.$(step))) \ ) + # If we are running mm/mmm, we should copy over the other clean steps too. + ifneq ($(ONE_SHOT_MAKEFILE),) + INTERNAL_CLEAN_STEPS := $(strip $(CURRENT_CLEAN_STEPS) $(steps)) + endif steps := endif CURRENT_CLEAN_BUILD_VERSION := |