Browse Source

waf: ardupilotwaf: remove SITL from common libraries

Only SITL port uses it and using it for PX4 raises compilation errors.
master
Gustavo Jose de Sousa 9 years ago committed by Lucas De Marchi
parent
commit
32402b93af
  1. 3
      Tools/ardupilotwaf/ardupilotwaf.py

3
Tools/ardupilotwaf/ardupilotwaf.py

@ -48,7 +48,6 @@ COMMON_VEHICLE_DEPENDENT_LIBRARIES = [
'Filter', 'Filter',
'GCS_MAVLink', 'GCS_MAVLink',
'RC_Channel', 'RC_Channel',
'SITL',
'StorageManager', 'StorageManager',
] ]
@ -73,6 +72,8 @@ def ap_get_all_libraries(bld):
continue continue
if name.startswith('AP_HAL'): if name.startswith('AP_HAL'):
continue continue
if name == 'SITL':
continue
libraries.append(name) libraries.append(name)
libraries.extend(['AP_HAL', 'AP_HAL_Empty']) libraries.extend(['AP_HAL', 'AP_HAL_Empty'])
return libraries return libraries

Loading…
Cancel
Save