From dac84323b17d9f366f7c8803074350955cc0d21f Mon Sep 17 00:00:00 2001 From: Stefan Karlsson Date: Tue, 16 Sep 2014 23:12:16 +0200 Subject: [PATCH] OP-1493 Make packaging of fw_discoveryf4bare optional and off by default --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e70060614..be4e2461e 100644 --- a/Makefile +++ b/Makefile @@ -698,7 +698,8 @@ endif ############################## # Firmware files to package -PACKAGE_FW_TARGETS := $(filter-out fw_simposix, $(FW_TARGETS)) +PACKAGE_FW_EXCLUDE := fw_simposix $(if $(PACKAGE_FW_INCLUDE_DISCOVERYF4BARE),,fw_discoveryf4bare) +PACKAGE_FW_TARGETS := $(filter-out $(PACKAGE_FW_EXCLUDE), $(FW_TARGETS)) PACKAGE_ELF_TARGETS := $(filter fw_simposix, $(FW_TARGETS)) # Rules to generate GCS resources used to embed firmware binaries into the GCS.