@@ -792,7 +792,7 @@ def parse_dependencies(self, dep_path):
792
792
"""Take in a dependency file generated by the compiler and build a list of
793
793
all files that the dep_path depends on.
794
794
"""
795
- pass
795
+ raise NotImplemented
796
796
797
797
def is_not_supported_error (self , output ):
798
798
return "#error directive: [NOT_SUPPORTED]" in output
@@ -801,7 +801,7 @@ def is_not_supported_error(self, output):
801
801
def parse_output (self , output ):
802
802
"""Take in compiler output and extract sinlge line warnings and errors from it
803
803
"""
804
- pass
804
+ raise NotImplemented
805
805
806
806
def compile_output (self , output = []):
807
807
_rc = output [0 ]
@@ -979,7 +979,7 @@ def get_config_option(self, config_header):
979
979
"""Generate the compiler option that forces the inclusion of the configuration
980
980
header file.
981
981
"""
982
- pass
982
+ raise NotImplemented
983
983
984
984
@abstractmethod
985
985
def assemble (self , source , object , includes ):
@@ -988,7 +988,7 @@ def assemble(self, source, object, includes):
988
988
- Puts the results into the file named *object*.
989
989
- Has an include search path that includes everything in *includes*
990
990
"""
991
- pass
991
+ raise NotImplemented
992
992
993
993
@abstractmethod
994
994
def compile_c (self , source , object , includes ):
@@ -997,7 +997,7 @@ def compile_c(self, source, object, includes):
997
997
- Puts the results into the file named *object*.
998
998
- Has an include search path that includes everything in *includes*
999
999
"""
1000
- pass
1000
+ raise NotImplemented
1001
1001
1002
1002
@abstractmethod
1003
1003
def compile_cpp (self , source , object , includes ):
@@ -1006,7 +1006,7 @@ def compile_cpp(self, source, object, includes):
1006
1006
- Puts the results into the file named *object*.
1007
1007
- Has an include search path that includes everything in *includes*
1008
1008
"""
1009
- pass
1009
+ raise NotImplemented
1010
1010
1011
1011
@abstractmethod
1012
1012
def link (self , output , objects , libraries , lib_dirs , mem_map ):
@@ -1016,20 +1016,20 @@ def link(self, output, objects, libraries, lib_dirs, mem_map):
1016
1016
- Searches for libraries in *lib_dirs*
1017
1017
- Generates a memory map file in the file *mem_map*
1018
1018
"""
1019
- pass
1019
+ raise NotImplemented
1020
1020
1021
1021
@abstractmethod
1022
1022
def archive (self , objects , lib_path ):
1023
1023
"""Run the command line that creates an archive containing *objects*, and named *lib_path*
1024
1024
"""
1025
- pass
1025
+ raise NotImplemented
1026
1026
1027
1027
@abstractmethod
1028
1028
def binary (self , resources , elf , bin ):
1029
1029
"""Run the command line that will Extract a binary named *bin* from an
1030
1030
elf file named *elf*.
1031
1031
"""
1032
- pass
1032
+ raise NotImplemented
1033
1033
1034
1034
# Return the list of macros geenrated by the build system
1035
1035
def get_config_macros (self ):
0 commit comments