summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-11 18:36:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-11 18:36:23 +0100
commitb13973030bc9f9f350aff9a86398a61c4f347b62 (patch)
treede0360bf6493a745bc4d4c8f060feaba1bef3252 /mk
parentcfc200714ddfa6d76feb836c258b1135d91a8348 (diff)
fix make distclean, when no .config exit
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/build.mk b/mk/build.mk
index bd5dc9e5c..08125e059 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -389,10 +389,10 @@ _mconfig2: ${CONFIG}/conf modconfig .menu
distclean:
@$(MAKE) -C $(CONFIG) clean
- @rm -rf $(BUILD_DIR) $(TOOLS_BUILD_DIR) $(BIN_DIR) $(DISTDIR) \
- ${TOPDIR}/.cfg* ${TOPDIR}/package/pkglist.d
- @rm -rf $(TOOLCHAIN_BUILD_DIR) $(STAGING_PARENT) $(TARGET_DIR)
- @rm -f .config* .defconfig all.config .tmpconfig.h ${TOPDIR}/prereq.mk \
+ @rm -rf $(BUILD_DIR_PFX) $(BIN_DIR_PFX) $(TARGET_DIR_PFX) $(DISTDIR) \
+ ${TOPDIR}/.cfg* ${TOPDIR}/package/pkglist.d $(TOPDIR)/bulkdir
+ @rm -rf $(TOOLCHAIN_BUILD_DIR_PFX) $(STAGING_PARENT_PFX) $(TOOLS_BUILD_DIR)
+ @rm -f .config* .defconfig .tmpconfig.h all.config ${TOPDIR}/prereq.mk \
.menu ${TOPDIR}/package/*/info.mk ${TOPDIR}/package/Depends.mk
endif # ! ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y)