mirror of https://github.com/arendst/Tasmota.git
refactor BERRY_GEN_DIR
This commit is contained in:
parent
34084c6e75
commit
a68d2726c5
|
@ -5,7 +5,7 @@ from os.path import join
|
||||||
|
|
||||||
# generate all precompiled Berry structures from multiple modules
|
# generate all precompiled Berry structures from multiple modules
|
||||||
CURRENT_DIR = os.getcwd()
|
CURRENT_DIR = os.getcwd()
|
||||||
BERRY_GEN_DIR = join(CURRENT_DIR, "lib", "libesp32","berry")
|
BERRY_GEN_DIR = join(env.subst("$PROJECT_DIR"), "lib", "libesp32","berry")
|
||||||
os.chdir(BERRY_GEN_DIR)
|
os.chdir(BERRY_GEN_DIR)
|
||||||
cmd = ("python3",join("tools","coc","coc"),"-o","generate","src","default",join("..","berry_tasmota","src"),join("..","berry_mapping","src"),join("..","berry_int64","src"),join("..","..","libesp32_lvgl","lv_binding_berry","src"),join("..","..","libesp32_lvgl","lv_binding_berry","generate"),"-c",join("default","berry_conf.h"))
|
cmd = ("python3",join("tools","coc","coc"),"-o","generate","src","default",join("..","berry_tasmota","src"),join("..","berry_mapping","src"),join("..","berry_int64","src"),join("..","..","libesp32_lvgl","lv_binding_berry","src"),join("..","..","libesp32_lvgl","lv_binding_berry","generate"),"-c",join("default","berry_conf.h"))
|
||||||
returncode = subprocess.call(cmd, shell=False)
|
returncode = subprocess.call(cmd, shell=False)
|
||||||
|
|
Loading…
Reference in New Issue