diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/build.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk index 1e270e662..0dba6cadc 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -153,7 +153,7 @@ ${TOPDIR}/package/Depends.mk: ${TOPDIR}/.config $(wildcard ${TOPDIR}/package/*/M $(TOPDIR)/adk/tools/depmaker > ${TOPDIR}/package/Depends.mk .NOTPARALLEL: -.PHONY: all world clean cleandir cleantoolchain distclean image_clean +.PHONY: all world clean cleandir cleansystem distclean image_clean world: @mkdir -p $(DL_DIR) $(HOST_BUILD_DIR) $(BUILD_DIR) $(TARGET_DIR) $(FW_DIR) \ @@ -257,6 +257,14 @@ cleandir: @rm -rf $(STAGING_TARGET_DIR_PFX) $(STAGING_PKG_DIR_PFX) @rm -f .menu .tmpconfig.h .rebuild* ${TOPDIR}/package/Depends.mk ${TOPDIR}/prereq.mk +cleansystem: + @$(TRACE) cleansystem + @$(MAKE) -C $(CONFIG) clean $(MAKE_TRACE) + @rm -rf $(BUILD_DIR) $(FW_DIR) $(TARGET_DIR) \ + ${TOPDIR}/package/pkglist.d ${TOPDIR}/package/pkgconfigs.d + @rm -rf $(TOOLCHAIN_DIR) $(STAGING_TARGET_DIR) $(STAGING_PKG_DIR) $(TOOLCHAIN_BUILD_DIR) + @rm -f .menu .tmpconfig.h .rebuild* ${TOPDIR}/package/Depends.mk ${TOPDIR}/prereq.mk + distclean: @$(TRACE) distclean @$(MAKE) -C $(CONFIG) clean $(MAKE_TRACE) |