tools/Makefile.unix: Fix build error when issue 'make -B'. mkdir: cannot create directory 'staging': File exists: tools/Makefile.unix:269: recipe for target 'staging' failed'

This commit is contained in:
Xiang Xiao 2019-09-16 07:41:25 -06:00 committed by Gregory Nutt
parent bf3ffddf2f
commit ba436b9434
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ tools/mkconfig$(HOSTEXEEXT):
$(Q) $(MAKE) -C tools -f Makefile.host TOPDIR="$(TOPDIR)" mkconfig$(HOSTEXEEXT)
staging:
$(Q) mkdir staging
$(Q) mkdir -p staging
include/nuttx/config.h: $(TOPDIR)/.config tools/mkconfig$(HOSTEXEEXT)
$(Q) tools/mkconfig $(TOPDIR) > include/nuttx/config.h.tmp

View File

@ -286,7 +286,7 @@ tools\mkconfig$(HOSTEXEEXT):
$(Q) $(MAKE) -C tools -f Makefile.host TOPDIR="$(TOPDIR)" mkconfig$(HOSTEXEEXT)
staging:
$(Q) mkdir staging
$(Q) mkdir -p staging
include\nuttx\config.h: $(TOPDIR)\.config tools\mkconfig$(HOSTEXEEXT)
$(Q) tools\mkconfig$(HOSTEXEEXT) $(TOPDIR) > include\nuttx\config.h