summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index 96f7b1f64..1401a1204 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -213,6 +213,9 @@ endif
ifeq ($(CONFIG_INTELHEX_BINARY),y)
@$(OBJCOPY) -O ihex $(TOPDIR)/$@ $(TOPDIR)/$@.ihx
endif
+ifeq ($(CONFIG_MOTOROLA_SREC),y)
+ @$(OBJCOPY) -O srec $(TOPDIR)/$@ $(TOPDIR)/$@.srec
+endif
ifeq ($(CONFIG_RAW_BINARY),y)
@$(OBJCOPY) -O binary $(TOPDIR)/$@ $(TOPDIR)/$@.bin
endif