Browse Source

waf: ap_library: make headers whitelist portable

Otherwise it won't work for platforms that don't use Unix style paths.
master
Gustavo Jose de Sousa 9 years ago committed by Lucas De Marchi
parent
commit
87862a08ab
  1. 1
      Tools/ardupilotwaf/ap_library.py

1
Tools/ardupilotwaf/ap_library.py

@ -134,6 +134,7 @@ class ap_library_check_headers(Task.Task): @@ -134,6 +134,7 @@ class ap_library_check_headers(Task.Task):
whitelist = (
'libraries/AP_Vehicle/AP_Vehicle_Type.h',
)
whitelist = tuple(os.path.join(*p.split('/')) for p in whitelist)
def run(self):
for n in self.headers:

Loading…
Cancel
Save