build: Generate gps-watch-bootloader-intermediate.frm.
[gps-watch.git] / SConscript.target
index 2da14a42ff3dc1a9005f901816b4bb0cde728252..a927dd7292259df9195a792a06735dd65558e6ea 100644 (file)
@@ -59,6 +59,8 @@ bootloader_source_files = [
     'src/bootloader/flash.rs',
 ]
 
+bootloader_bins = []
+
 for s in ['intermediate', 'final']:
     bootloader_env = env.Clone()
 
@@ -82,6 +84,13 @@ for s in ['intermediate', 'final']:
 
     Default(bootloader_bin)
 
+    bootloader_bins.append(bootloader_bin)
+
+bootloader_intermediate_frm = \
+    bootloader_env.Frm(bootloader_bins[0])
+
+Default(bootloader_intermediate_frm)
+
 application_source_files = [
     'src/application/main.rs', # Must be listed first (see below).
     'src/application/button.rs',