8ba963cfa3
When loading a manifest file, e.g. by include(), it will chdir first to the directory of that manifest. This means that all file operations within a manifest are relative to that manifest's location. As a consequence of this, additional environment variables are needed to find absolute paths, so the following are added: $(MPY_LIB_DIR), $(PORT_DIR), $(BOARD_DIR). And rename $(MPY) to $(MPY_DIR) to be consistent. Existing manifests are updated to match.
7 lines
232 B
Python
7 lines
232 B
Python
include('manifest.py')
|
|
|
|
freeze('$(MPY_LIB_DIR)/upysh', 'upysh.py')
|
|
freeze('$(MPY_LIB_DIR)/urequests', 'urequests.py')
|
|
freeze('$(MPY_LIB_DIR)/umqtt.simple', 'umqtt/simple.py')
|
|
freeze('$(MPY_LIB_DIR)/umqtt.robust', 'umqtt/robust.py')
|