Merge pull request #3483 from theotherjimmy/make-linker-error

Improve error message when exporting for make without a linker script
pull/3514/head
Martin Kojtal 2016-12-30 12:34:09 +01:00 committed by GitHub
commit 24cd5734dd
1 changed files with 3 additions and 0 deletions

View File

@ -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