Zheng Bao (zheng.bao@amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1602
-gerrit
commit 6585f291def1f7cbeb2ccf42f9d6ce916f68ea24 Author: Zheng Bao fishbaozi@gmail.com Date: Mon Oct 22 16:36:03 2012 +0800
Makefile: No need to mkdir when distclean
make distclean causes error on mingw: ------- rm: cannot lstat `build/util': Permission denied make: *** [distclean] Error 1 ------- Guess, When the distclean is made by multi-process, the mkdir in the Makefile will execute when build is removed. That causes conflicts.
Change-Id: Ia41ecc5d1db2fa9d3328c81ac1d33fa94779492d Signed-off-by: Zheng Bao zheng.bao@amd.com Signed-off-by: Zheng Bao fishbaozi@gmail.com --- Makefile | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/Makefile b/Makefile index 44fd62f..b40574b 100644 --- a/Makefile +++ b/Makefile @@ -101,6 +101,9 @@ ifneq ($(MAKECMDGOALS),) ifneq ($(filter %config distclean,$(MAKECMDGOALS)),) NOCOMPILE:=1 endif +ifeq ($(MAKECMDGOALS), distclean) +NOMKDIR:=1 +endif endif
ifeq ($(NOCOMPILE),1)