mirror of https://github.com/ARMmbed/mbed-os.git
All C files depend on mbed_app.json
parent
bbde3797cb
commit
58167a2071
|
|
@ -909,7 +909,9 @@ class mbedToolchain:
|
|||
deps = self.parse_dependencies(dep_path) if (exists(dep_path)) else []
|
||||
except IOError, IndexError:
|
||||
deps = []
|
||||
if len(deps) == 0 or self.need_update(object, deps):
|
||||
config_file = ([self.config.app_config_location]
|
||||
if self.config.app_config_location else [])
|
||||
if len(deps) == 0 or self.need_update(object, deps + config_file):
|
||||
if ext == '.cpp' or self.COMPILE_C_AS_CPP:
|
||||
return self.compile_cpp(source, object, includes)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue