From: batt Date: Thu, 17 Feb 2011 11:13:55 +0000 (+0000) Subject: Remove path from toolchain when creating presets (use the system one). X-Git-Tag: 2.7.0~256 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=3a62daed178599e4969c3a96c50d6d0ed3397b59;p=bertos.git Remove path from toolchain when creating presets (use the system one). git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4710 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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")