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:
parent
bf3ffddf2f
commit
ba436b9434
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue