From 3a62daed178599e4969c3a96c50d6d0ed3397b59 Mon Sep 17 00:00:00 2001 From: batt Date: Thu, 17 Feb 2011 11:13:55 +0000 Subject: [PATCH] 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 --- wizard/create_preset.py | 2 ++ 1 file changed, 2 insertions(+) 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") -- 2.25.1