mirror of https://github.com/ARMmbed/mbed-os.git
Remove unwanted spaces
parent
41e3329363
commit
200829537f
|
@ -355,7 +355,7 @@ def prepare_toolchain(src_paths, build_dir, target, toolchain_name,
|
||||||
target.name, toolchain_name))
|
target.name, toolchain_name))
|
||||||
|
|
||||||
toolchain_name = get_toolchain_name(target, toolchain_name)
|
toolchain_name = get_toolchain_name(target, toolchain_name)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
cur_tc = TOOLCHAIN_CLASSES[toolchain_name]
|
cur_tc = TOOLCHAIN_CLASSES[toolchain_name]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
@ -548,13 +548,13 @@ def build_project(src_paths, build_path, target, toolchain_name,
|
||||||
if clean and exists(build_path):
|
if clean and exists(build_path):
|
||||||
rmtree(build_path)
|
rmtree(build_path)
|
||||||
mkdir(build_path)
|
mkdir(build_path)
|
||||||
|
|
||||||
toolchain = prepare_toolchain(
|
toolchain = prepare_toolchain(
|
||||||
src_paths, build_path, target, toolchain_name, macros=macros,
|
src_paths, build_path, target, toolchain_name, macros=macros,
|
||||||
clean=clean, jobs=jobs, notify=notify, config=config,
|
clean=clean, jobs=jobs, notify=notify, config=config,
|
||||||
app_config=app_config, build_profile=build_profile, ignore=ignore)
|
app_config=app_config, build_profile=build_profile, ignore=ignore)
|
||||||
toolchain.version_check()
|
toolchain.version_check()
|
||||||
|
|
||||||
# The first path will give the name to the library
|
# The first path will give the name to the library
|
||||||
name = (name or toolchain.config.name or
|
name = (name or toolchain.config.name or
|
||||||
basename(normpath(abspath(src_paths[0]))))
|
basename(normpath(abspath(src_paths[0]))))
|
||||||
|
|
|
@ -162,7 +162,7 @@ def generate_py_target(new_targets, name):
|
||||||
|
|
||||||
class Target(namedtuple("Target", "name json_data resolution_order resolution_order_names build_tools_metadata")):
|
class Target(namedtuple("Target", "name json_data resolution_order resolution_order_names build_tools_metadata")):
|
||||||
"""An object to represent a Target (MCU/Board)"""
|
"""An object to represent a Target (MCU/Board)"""
|
||||||
|
|
||||||
# Default location of the 'targets.json' file
|
# Default location of the 'targets.json' file
|
||||||
__targets_json_location_default = os.path.join(
|
__targets_json_location_default = os.path.join(
|
||||||
os.path.dirname(os.path.abspath(__file__)), '..', '..', 'targets', 'targets.json')
|
os.path.dirname(os.path.abspath(__file__)), '..', '..', 'targets', 'targets.json')
|
||||||
|
|
Loading…
Reference in New Issue