mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #3483 from theotherjimmy/make-linker-error
Improve error message when exporting for make without a linker scriptpull/3514/head
commit
24cd5734dd
|
@ -40,6 +40,9 @@ class Makefile(Exporter):
|
|||
|
||||
Note: subclasses should not need to override this method
|
||||
"""
|
||||
if not self.resources.linker_script:
|
||||
raise NotSupportedException("No linker script found.")
|
||||
|
||||
self.resources.win_to_unix()
|
||||
|
||||
to_be_compiled = [splitext(src)[0] + ".o" for src in
|
||||
|
|
Loading…
Reference in New Issue