From 32402b93af41c90e99fa293650d72633ccc83192 Mon Sep 17 00:00:00 2001 From: Gustavo Jose de Sousa Date: Wed, 24 Feb 2016 18:35:46 +0000 Subject: [PATCH] waf: ardupilotwaf: remove SITL from common libraries Only SITL port uses it and using it for PX4 raises compilation errors. --- Tools/ardupilotwaf/ardupilotwaf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/ardupilotwaf/ardupilotwaf.py b/Tools/ardupilotwaf/ardupilotwaf.py index 5f61ad7c2e..dae99b3da0 100644 --- a/Tools/ardupilotwaf/ardupilotwaf.py +++ b/Tools/ardupilotwaf/ardupilotwaf.py @@ -48,7 +48,6 @@ COMMON_VEHICLE_DEPENDENT_LIBRARIES = [ 'Filter', 'GCS_MAVLink', 'RC_Channel', - 'SITL', 'StorageManager', ] @@ -73,6 +72,8 @@ def ap_get_all_libraries(bld): continue if name.startswith('AP_HAL'): continue + if name == 'SITL': + continue libraries.append(name) libraries.extend(['AP_HAL', 'AP_HAL_Empty']) return libraries