makeEspArduino
makeEspArduino copied to clipboard
build_opt.h: No such file or directory
After a "make clean" or during the first make I get an error: build_opt.h: No such file or directory
The culprit appears to be the default multi-threaded make. Setting BUILD_THREADS=1 or running "make -j 1" fixes the issue.
Maybe there is a dependency missing somewhere?
-- Regards Lyon Lemmens
I have the same, but I worked around it by sticking
BUILD_OPT_H := $(shell touch $(BUILD_DIR)/build_opt.h)
in my Makefile.
Thanks!! That almost works. BUILD_DIR may not exist, so I changed it to:
BUILD_OPT_H := $(shell test -d $(BUILD_DIR) || mkdir -p $(BUILD_DIR); touch $(BUILD_DIR)/build_opt.h )
Ok, that was an ugly prebuild thingy in platform.txt. Will fix
Cheers!
Finally got around to fix this. Please check latest version.