mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Build script: add explicit console log in case of linker script error
							parent
							
								
									d8dc981fd1
								
							
						
					
					
						commit
						ab9890072d
					
				| 
						 | 
					@ -590,6 +590,7 @@ def build_project(src_paths, build_path, target, toolchain_name,
 | 
				
			||||||
        if linker_script is not None:
 | 
					        if linker_script is not None:
 | 
				
			||||||
            resources.add_file_ref(FileType.LD_SCRIPT, linker_script, linker_script)
 | 
					            resources.add_file_ref(FileType.LD_SCRIPT, linker_script, linker_script)
 | 
				
			||||||
        if not resources.get_file_refs(FileType.LD_SCRIPT):
 | 
					        if not resources.get_file_refs(FileType.LD_SCRIPT):
 | 
				
			||||||
 | 
					            notify.info("No Linker Script found")
 | 
				
			||||||
            raise NotSupportedException("No Linker Script found")
 | 
					            raise NotSupportedException("No Linker Script found")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Compile Sources
 | 
					        # Compile Sources
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue