瀏覽代碼

mk/package.mk: fix for cleaning packages

Due to using the wrong name, the packages stamp file was not removed and
therefore it was not rebuilt at all.
Phil Sutter 10 年之前
父節點
當前提交
1081ca94b8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mk/package.mk

+ 1 - 1
mk/package.mk

@@ -308,7 +308,7 @@ clean-targets:
 clean:
 clean:
 	@$(CMD_TRACE) "cleaning... "
 	@$(CMD_TRACE) "cleaning... "
 	@$(MAKE) clean-targets $(MAKE_TRACE)
 	@$(MAKE) clean-targets $(MAKE_TRACE)
-	rm -rf ${WRKDIR} ${ALL_IPKGS} ${STAGING_PKG_DIR}/stamps/${PKG_NAME}${PKG_VERSION}
+	rm -rf ${WRKDIR} ${ALL_IPKGS} ${_IPKGS_COOKIE}
 
 
 distclean: clean
 distclean: clean
 	rm -f ${FULLDISTFILES}
 	rm -f ${FULLDISTFILES}