X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fcreate_preset.py;h=d1dbac68a7d2f7640f68e3e71512411b162453f6;hb=57dfb183e24175bc782647d4e6aebe31063f3881;hp=e2c818ac4f5a1c1d3a8a045f8cc339d4f2349c50;hpb=72dfeaad6330cf262e4f1b0d5680c90a85de3b76;p=bertos.git diff --git a/wizard/create_preset.py b/wizard/create_preset.py index e2c818ac..d1dbac68 100755 --- a/wizard/create_preset.py +++ b/wizard/create_preset.py @@ -149,6 +149,8 @@ hw_path = os.path.relpath(hw_path, bertos_path) # Src path and hw path relatively to the BeRTOS Makefile. s["PROJECT_SRC_PATH_FROM_MAKEFILE"] = src_path s["PROJECT_HW_PATH_FROM_MAKEFILE"] = hw_path +toolchain = s["TOOLCHAIN"]["path"] +s["TOOLCHAIN"]["path"] = os.path.basename(toolchain) pprint.pprint(s) p = open(preset_dir + "/project.bertos", "w")