diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2012-10-22 16:36:03 +0800 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-10-22 21:49:35 +0200 |
commit | 0fd93d62d232d22e4bbeeb272fb909f615076d2c (patch) | |
tree | 88567f90708f4b4c888513c9f397bb77c8f5af3d /Makefile | |
parent | 50ad0950ae5c931e7e36460db009dd1692b3c4b8 (diff) |
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>
Reviewed-on: http://review.coreboot.org/1602
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -101,6 +101,9 @@ ifneq ($(MAKECMDGOALS),) ifneq ($(filter %config distclean,$(MAKECMDGOALS)),) NOCOMPILE:=1 endif +ifeq ($(MAKECMDGOALS), distclean) +NOMKDIR:=1 +endif endif ifeq ($(NOCOMPILE),1) |