{"action":"created","issue":{"url":"https://api.github.com/repos/pfalcon/esp-open-sdk/issues/85","labels_url":"https://api.github.com/repos/pfalcon/esp-open-sdk/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/pfalcon/esp-open-sdk/issues/85/comments","events_url":"https://api.github.com/repos/pfalcon/esp-open-sdk/issues/85/events","html_url":"https://github.com/pfalcon/esp-open-sdk/issues/85","id":103831900,"number":85,"title":"SDK Makefile versus root Makefile problem","user":{"login":"jfbortolotti","id":14026204,"avatar_url":"https://avatars.githubusercontent.com/u/14026204?v=3","gravatar_id":"","url":"https://api.github.com/users/jfbortolotti","html_url":"https://github.com/jfbortolotti","followers_url":"https://api.github.com/users/jfbortolotti/followers","following_url":"https://api.github.com/users/jfbortolotti/following{/other_user}","gists_url":"https://api.github.com/users/jfbortolotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jfbortolotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfbortolotti/subscriptions","organizations_url":"https://api.github.com/users/jfbortolotti/orgs","repos_url":"https://api.github.com/users/jfbortolotti/repos","events_url":"https://api.github.com/users/jfbortolotti/events{/privacy}","received_events_url":"https://api.github.com/users/jfbortolotti/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-29T06:02:01Z","updated_at":"2015-09-04T11:33:07Z","closed_at":"2015-09-04T11:33:07Z","body":"While willing to compile an examples in sdk/app, got the following error:\r\n~/esp8266/esp-open-sdk/sdk/app$ make\r\n../../Makefile:288: warning: overriding commands for target `clean'\r\n../Makefile:299: warning: ignoring old commands for target `clean'\r\nYou cloned without --recursive, fetching submodules for you.\r\ngit submodule update --init --recursive\r\nmake -C crosstool-NG -f ../Makefile _ct-ng\r\nmake: *** crosstool-NG: No such file or directory.  Stop.\r\nmake: *** [crosstool-NG/ct-ng] Error 2\r\n\r\nThis 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.\r\n\r\nWorkaround found: rename esp-open-sdk/Makefile to something else(Makefile.old) and app compilation will work."},"comment":{"url":"https://api.github.com/repos/pfalcon/esp-open-sdk/issues/comments/137713388","html_url":"https://github.com/pfalcon/esp-open-sdk/issues/85#issuecomment-137713388","issue_url":"https://api.github.com/repos/pfalcon/esp-open-sdk/issues/85","id":137713388,"user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T11:33:07Z","updated_at":"2015-09-04T11:33:07Z","body":"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.\r\n"}}