diff --git a/tools/export/gnuarmeclipse/__init__.py b/tools/export/gnuarmeclipse/__init__.py index 9f7eb4e72d..30b4b6eb1e 100644 --- a/tools/export/gnuarmeclipse/__init__.py +++ b/tools/export/gnuarmeclipse/__init__.py @@ -207,7 +207,7 @@ class GNUARMEclipse(Exporter): src_paths = [''] target_name = self.toolchain.target.name toolchain = prepare_toolchain( - src_paths, target_name, self.TOOLCHAIN, build_profile=profile_toolchain) + src_paths, "", target_name, self.TOOLCHAIN, build_profile=profile_toolchain) # Hack to fill in build_dir toolchain.build_dir = self.toolchain.build_dir diff --git a/tools/project_api.py b/tools/project_api.py index 728f61ee4f..6373bd6bee 100644 --- a/tools/project_api.py +++ b/tools/project_api.py @@ -187,7 +187,7 @@ def export_project(src_paths, export_path, target, ide, libraries_paths=None, # Pass all params to the unified prepare_resources() toolchain = prepare_toolchain( - paths, export_path, target, toolchain_name, macros=macros, jobs=jobs, + paths, "", target, toolchain_name, macros=macros, jobs=jobs, notify=notify, silent=silent, verbose=verbose, extra_verbose=extra_verbose, config=config, build_profile=build_profile) # The first path will give the name to the library