From a0fadf739bc6dc5e77da12411cef945e8194e710 Mon Sep 17 00:00:00 2001 From: Oleg Semyonov Date: Thu, 19 May 2011 01:57:35 +0300 Subject: [PATCH] OP-483: add 'release' target to the top level Makefile Now 'make release' on the top level will build release package. For Windows it will build OpenPilot GCS Installer and all firmware binaries which are now included into the GCS distribution and will be installed into the /OpenPilot/share/firmware- directory. For other systems it will build all firmware files and the GCS, but latter is not packaged yet. --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index fe95afd9d..0d2700868 100644 --- a/Makefile +++ b/Makefile @@ -575,3 +575,12 @@ sim_win32_%: uavobjects_flight $(V1) mkdir -p $(BUILD_DIR)/sitl_win32 $(V1) $(MAKE) --no-print-directory \ -C $(ROOT_DIR)/flight/OpenPilot --file=$(ROOT_DIR)/flight/OpenPilot/Makefile.win32 $* + +############################## +# +# Release packaging components +# +############################## +.PHONY: release +release: + $(V1) cd $@ && $(MAKE) --no-print-directory $@