From 5a0e4c137e3d719269872e18446a1d92936a99e8 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 7 Jan 2018 20:57:43 +0100 Subject: [PATCH] Tools: Simplify QGC meta sync script using the makefile tools --- Tools/qgc_meta_sync.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Tools/qgc_meta_sync.sh b/Tools/qgc_meta_sync.sh index c393b46182..87742155f4 100755 --- a/Tools/qgc_meta_sync.sh +++ b/Tools/qgc_meta_sync.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -make posix_sitl_default -cp build/posix_sitl_default/parameters.xml ../qgroundcontrol/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml -#cp build/posix_sitl_default/airframes.xml ../qgroundcontrol/src/AutoPilotPlugins/PX4/AirframeFactMetaData.xml +make parameters_metadata +cp parameters.xml ../qgroundcontrol/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml +make airframe_metadata +cp airframes.xml ../qgroundcontrol/src/AutoPilotPlugins/PX4/AirframeFactMetaData.xml