CHERTS / esp8266-devkit

Unofficial Development Kit for Espressif ESP8266
http://www.programs74.ru
GNU General Public License v3.0
261 stars 102 forks source link

mkdir -p in makefiles does not work on windows #24

Closed greg-ware closed 8 years ago

greg-ware commented 8 years ago

I have this issue in several makefiles that try to make the build/driver and build/user directories. The make runs mkdir -p with a forward-slash directory path and that does not work.

Making the dir manually lets the make complete ok.

Question is whether it is supposed to be a mkdir command in MinGW (mine does not have any)

Thanks,

Greg

CHERTS commented 8 years ago

I checked and mkdir -p working correctly the windows in the Makefile

In file examples\hello_world\Makefile I wrote:

$(FW_BASE): $(Q) mkdir -p $@ $(Q) mkdir -p $@/test/test1/test2

to make the build process were created directories and subdirectories firmware/test/test1/test2