From ebbefd6d54798927515f3b1a318c5b54b5d5c9bb Mon Sep 17 00:00:00 2001 From: Stacey Sheldon Date: Sat, 20 Oct 2012 13:25:24 -0400 Subject: [PATCH] makefile: quiet down the uavobjgenerator build output --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 36333d019..ec8bfa634 100644 --- a/Makefile +++ b/Makefile @@ -533,11 +533,17 @@ openpilotgcs_clean: $(V0) @echo " CLEAN $@" $(V1) [ ! -d "$(BUILD_DIR)/ground/openpilotgcs" ] || $(RM) -r "$(BUILD_DIR)/ground/openpilotgcs" +ifeq ($(V), 1) +UAVOGEN_SILENT := +else +UAVOGEN_SILENT := silent +endif + .PHONY: uavobjgenerator uavobjgenerator: $(V1) mkdir -p $(BUILD_DIR)/ground/$@ $(V1) ( cd $(BUILD_DIR)/ground/$@ && \ - $(QMAKE) $(ROOT_DIR)/ground/uavobjgenerator/uavobjgenerator.pro -spec $(QT_SPEC) -r CONFIG+=debug && \ + $(QMAKE) $(ROOT_DIR)/ground/uavobjgenerator/uavobjgenerator.pro -spec $(QT_SPEC) -r CONFIG+="debug $(UAVOGEN_SILENT)" && \ $(MAKE) --no-print-directory -w ; \ )