From 8ec0e687dba385ca55c3c6c21e0481fd5a6845ec Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 16 May 2016 13:33:00 +1000 Subject: [PATCH] mk: don't make mavlink generation depend on CHECK_MODULES this was causing a full rebuild every time, which is very annoying when developing --- mk/mavgen.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/mavgen.mk b/mk/mavgen.mk index 6bbd617b6b..4a43ea7ada 100644 --- a/mk/mavgen.mk +++ b/mk/mavgen.mk @@ -5,7 +5,7 @@ MESSAGE_DEFINITIONS := $(SKETCHBOOK)/modules/mavlink/message_definitions/v1.0 MAVLINK_HEADERS := $(BUILDROOT)/libraries/GCS_MAVLink/include/mavlink/v1.0/ardupilotmega/mavlink.h $(wildcard $(BUILDROOT)/libraries/GCS_MAVLink/include/mavlink/v1.0/,*.h) $(wildcard $(BUILDROOT)/libraries/GCS_MAVLink/include/mavlink/v1.0/ardupilotmega,*.h) MAVLINK_OUTPUT_DIR := $(BUILDROOT)/libraries/GCS_MAVLink/include/mavlink/v1.0 -$(MAVLINK_HEADERS): CHECK_MODULES $(MESSAGE_DEFINITIONS)/ardupilotmega.xml $(MESSAGE_DEFINITIONS)/common.xml +$(MAVLINK_HEADERS): $(MESSAGE_DEFINITIONS)/ardupilotmega.xml $(MESSAGE_DEFINITIONS)/common.xml echo "Generating MAVLink headers..." #goto mavlink module directory and run the most recent generator script echo "Generating C code using mavgen.py located at" $(SKETCHBOOK)/modules/mavlink/