New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK Makefile versus root Makefile problem #85
Comments
Or patch Makefile in the root of SDK to prevent it from including Makefile from parent dir. |
Or don't do anything is esp-open-sdk source tree, because it's all, well, esp-open-sdk source tree. Clone vendor sdk outside the tree and play with it there. Or report the issue to vendor, telling them not to include random makefiles outside their tree. |
Well, I had the same problem. Renaming the files outside the vendor tree from Makefile to makefile did the trick. |
Same issue for me. I spent 2 days frustrated by this error, and then stumbled onto this thread. No matter where I put the source code I always got this exact error. But the moment I renamed the Makefile in the root directory, it compiled perfectly. I will simply change the Makefile name back to normal to pull updates, but I am so glad I finally got it working. |
This error is caused by the BSD's "sed" utility. Try "brew install gnu-sed binutils" |
And wget, if you don't have it. |
While willing to compile an examples in sdk/app, got the following error:
~/esp8266/esp-open-sdk/sdk/app$ make
../../Makefile:288: warning: overriding commands for target
clean' ../Makefile:299: warning: ignoring old commands for target
clean'You cloned without --recursive, fetching submodules for you.
git submodule update --init --recursive
make -C crosstool-NG -f ../Makefile _ct-ng
make: *** crosstool-NG: No such file or directory. Stop.
make: *** [crosstool-NG/ct-ng] Error 2
This seems to be due to the app Makefile including the ../../Makefile which is the one from root but with a different path, then trying to regenerate the crosstool-NG compile/install process.
Workaround found: rename esp-open-sdk/Makefile to something else(Makefile.old) and app compilation will work.
The text was updated successfully, but these errors were encountered: