@@ -2493,7 +2493,7 @@ def compile_(toolchain=None, target=None, profile=False, compile_library=False,
2493
2493
if compile_library :
2494
2494
# Compile as a library (current dir is default)
2495
2495
if not build_path :
2496
- build_path = os .path .join (os .path .relpath (program .path , orig_path ), program .build_dir , 'libraries' , os .path .basename (orig_path ), target , tchain )
2496
+ build_path = os .path .join (os .path .relpath (program .path , orig_path ), program .build_dir , 'libraries' , os .path .basename (orig_path ), target . upper () , tchain . upper () )
2497
2497
2498
2498
popen ([python_cmd , '-u' , os .path .join (tools_dir , 'build.py' )]
2499
2499
+ list (chain .from_iterable (zip (repeat ('-D' ), macros )))
@@ -2509,7 +2509,7 @@ def compile_(toolchain=None, target=None, profile=False, compile_library=False,
2509
2509
else :
2510
2510
# Compile as application (root is default)
2511
2511
if not build_path :
2512
- build_path = os .path .join (os .path .relpath (program .path , orig_path ), program .build_dir , target , tchain )
2512
+ build_path = os .path .join (os .path .relpath (program .path , orig_path ), program .build_dir , target . upper () , tchain . upper () )
2513
2513
2514
2514
popen ([python_cmd , '-u' , os .path .join (tools_dir , 'make.py' )]
2515
2515
+ list (chain .from_iterable (zip (repeat ('-D' ), macros )))
@@ -2591,7 +2591,7 @@ def test_(toolchain=None, target=None, compile_list=False, run_list=False, compi
2591
2591
# Setup the build path if not specified
2592
2592
build_path = build
2593
2593
if not build_path :
2594
- build_path = os .path .join (program .path , program .build_dir , 'tests' , target , tchain )
2594
+ build_path = os .path .join (program .path , program .build_dir , 'tests' , target . upper () , tchain . upper () )
2595
2595
2596
2596
if test_spec :
2597
2597
# Preserve path to given test spec
0 commit comments