summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-05 22:16:22 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-05 22:16:22 +0000
commitff8d8ff79b9d850d3334e2a5ea9bfb378cd69ae5 (patch)
tree5cfedf15dd545665d5330fdfc5e53c208e9a1884 /nuttx/Makefile
parent128f51e6fcbf5b6e980f8f84a5a23559b229efb0 (diff)
downloadpx4-nuttx-ff8d8ff79b9d850d3334e2a5ea9bfb378cd69ae5.tar.gz
px4-nuttx-ff8d8ff79b9d850d3334e2a5ea9bfb378cd69ae5.tar.bz2
px4-nuttx-ff8d8ff79b9d850d3334e2a5ea9bfb378cd69ae5.zip
Add infrastructure for Hitachi SH-1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1134 42af7a65-404d-4744-a932-0658087f49c3
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