From a67323fc1216d955b68c4d87a91fee355adbf6bb Mon Sep 17 00:00:00 2001
From: rojer <rojer@rojer.me>
Date: Mon, 13 Jun 2016 17:56:19 +0300
Subject: [PATCH] Change main code image filename in CC3200 bundles

/sys/mcuimg.bin is just another file on SLFS, no reason to give it
special treatment. Preserve backward compatibility with old bundles:
translate sys_mcuimg.bin -> /sys/mcuimg.bin

PUBLISHED_FROM=be89a3d9785046f09279fef9e2bb6604eeaa576e
---
 examples/CC3200/Makefile.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/CC3200/Makefile.build b/examples/CC3200/Makefile.build
index 0386caa60..f99900635 100644
--- a/examples/CC3200/Makefile.build
+++ b/examples/CC3200/Makefile.build
@@ -66,7 +66,7 @@ $(FW_ZIP): $(FW_ELF) $(FW_BIN) $(SLFS_FILES)
 	  --build_info=$(BUILD_INFO_JSON) \
 	  --output=$(FW_MANIFEST) \
 	  --src_dir=$(FW_DIR) \
-	  sys_mcuimg.bin:src=$(notdir $(FW_BIN)) \
+	  /sys/mcuimg.bin:src=$(notdir $(FW_BIN)) \
 		$(foreach f,$(SLFS_FILES), $(notdir $(f)):src=$(notdir $(f)))
 	@echo "  ZIP   $@"
 	@fw_meta create_fw \
-- 
GitLab