From 61a7366c9306f17c45b7832de1c2838ab017ac38 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Sun, 20 Dec 2009 15:41:32 +0059 Subject: =?UTF-8?q?fix=20clean=20targets=20(some;=20git=20has=20no=20?= =?UTF-8?q?=E2=80=9Csvn=20st=20--no-ignore=E2=80=9D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thorsten Glaser --- mk/build.mk | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/mk/build.mk b/mk/build.mk index 781da5f41..3adea0d8c 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -177,8 +177,9 @@ clean: rm $$f ; \ done \ done - rm -rf $(BUILD_DIR) $(BIN_DIR) $(TARGET_DIR) ${TOPDIR}/.cfg - rm -f ${TOPDIR}/package/*/info.mk + rm -rf $(BUILD_DIR) $(BIN_DIR) $(TARGET_DIR) ${TOPDIR}/.cfg \ + ${TOPDIR}/package/pkglist.d + rm -f ${TOPDIR}/package/*/info.mk ${TOPDIR}/package/Depends.mk cleankernel: @$(TRACE) cleankernel @@ -188,9 +189,11 @@ cleandir: @$(TRACE) cleandir @$(MAKE) -C $(CONFIG) clean $(MAKE_TRACE) rm -rf $(BUILD_DIR_PFX) $(BIN_DIR_PFX) $(TARGET_DIR_PFX) \ - ${TOPDIR}/.cfg* - rm -rf $(TOOLCHAIN_BUILD_DIR_PFX) $(STAGING_PARENT_PFX) $(TOOLS_BUILD_DIR) - rm -f .tmpconfig.h ${TOPDIR}/package/*/info.mk + ${TOPDIR}/.cfg* ${TOPDIR}/package/pkglist.d + rm -rf $(TOOLCHAIN_BUILD_DIR_PFX) $(STAGING_PARENT_PFX) \ + $(TOOLS_BUILD_DIR) + rm -f .tmpconfig.h ${TOPDIR}/package/*/info.mk \ + ${TOPDIR}/package/Depends.mk ${TOPDIR}/prereq.mk cleantarget: @$(TRACE) cleantarget @@ -203,10 +206,10 @@ distclean: @$(TRACE) distclean @$(MAKE) -C $(CONFIG) clean $(MAKE_TRACE) rm -rf $(BUILD_DIR_PFX) $(BIN_DIR_PFX) $(TARGET_DIR_PFX) $(DISTDIR) \ - ${TOPDIR}/.cfg* + ${TOPDIR}/.cfg* ${TOPDIR}/package/pkglist.d rm -rf $(TOOLCHAIN_BUILD_DIR_PFX) $(STAGING_PARENT_PFX) $(TOOLS_BUILD_DIR) - rm -f .config* .defconfig .tmpconfig.h all.config \ - ${TOPDIR}/package/*/info.mk + rm -f .config* .defconfig .tmpconfig.h all.config ${TOPDIR}/prereq.mk \ + ${TOPDIR}/package/*/info.mk ${TOPDIR}/package/Depends.mk else # ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y) @@ -346,10 +349,10 @@ bulk: distclean: @$(MAKE) -C $(CONFIG) clean @rm -rf $(BUILD_DIR) $(TOOLS_BUILD_DIR) $(BIN_DIR) $(DISTDIR) \ - ${TOPDIR}/.cfg* + ${TOPDIR}/.cfg* ${TOPDIR}/package/pkglist.d @rm -rf $(TOOLCHAIN_BUILD_DIR) $(STAGING_PARENT) $(TARGET_DIR) - @rm -f .config* .defconfig all.config .tmpconfig.h \ - ${TOPDIR}/package/*/info.mk + @rm -f .config* .defconfig all.config .tmpconfig.h ${TOPDIR}/prereq.mk \ + ${TOPDIR}/package/*/info.mk ${TOPDIR}/package/Depends.mk endif # ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y) -- cgit v1.2.3