Create temp config in the same dir as target Fixes case where SDK and app are on different mounts (In our usage of kconfig, dirname is the empty string & basename is the full path to sdkconfig) Github pull request https://github.com/espressif/esp-idf/pull/151 See merge request !309