Skip to content

Commit 3bb2bad

Browse files
committed
fixes submodules
1 parent ebbe689 commit 3bb2bad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/esp32.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,9 @@ def submodules():
762762
env, cmds = setup_idf_environ()
763763

764764
wifi_lib = os.path.abspath(os.path.join(idf_path, 'components/esp_wifi/lib'))
765-
if not os.path.exists(wifi_lib):
765+
berkeley_db = os.path.abspath('lib/micropython/lib/berkeley-db-1.xx/README')
766766

767+
if not os.path.exists(berkeley_db) or not os.path.exists(wifi_lib):
767768
cmds.append(submodules_cmd)
768769

769770
return_code, _ = spawn(cmds, env=env)

0 commit comments

Comments
 (0)