]> granicus.if.org Git - esp-idf/commit
cmake: Fix for Python files executed directly, not via PYTHON variable
authorRenz Christian Bagaporo <renz@espressif.com>
Tue, 12 Mar 2019 05:31:44 +0000 (13:31 +0800)
committerRenz Christian Bagaporo <renz@espressif.com>
Tue, 12 Mar 2019 05:31:44 +0000 (13:31 +0800)
commitd0b2d5ec95113fc7c9ec17787e16d30afb8aebf5
tree13667a9800f59251e1d7922d2e0ba21cba999ad0
parent86c9b63546c2efee2a8ef43fca03c98dc38f6f6a
cmake: Fix for Python files executed directly, not via PYTHON variable

A problem if the Python interpreter used for idf.py (or set via PYTHON
variable) didn't match
"/usr/bin/env python" (or the associated executable for .py files, on
Windows).

Closes https://github.com/espressif/esp-idf/issues/3160
Possibly also fix for https://github.com/espressif/esp-idf/issues/2936

Adds build system test to catch any future direct execution of Python in
the standard build process.
components/esptool_py/project_include.cmake
components/ulp/cmake/CMakeLists.txt
tools/cmake/ldgen.cmake