summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-29 23:17:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-29 23:17:39 +0000
commit98377020572b2999771e89b3368d5772492603cc (patch)
tree8236d755cdfd0bd8f20fa168a0b84910ddbdf8f9 /nuttx/Makefile
parentabb501e6a313c7d79698b03a9ff9fd0a9da3bd2e (diff)
downloadpx4-nuttx-98377020572b2999771e89b3368d5772492603cc.tar.gz
px4-nuttx-98377020572b2999771e89b3368d5772492603cc.tar.bz2
px4-nuttx-98377020572b2999771e89b3368d5772492603cc.zip
Fix objcopy problem with newer toolchains
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1746 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index e1cd92333..d72aa48b8 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -245,13 +245,13 @@ ifeq ($(CONFIG_RRLOAD_BINARY),y)
fi
endif
ifeq ($(CONFIG_INTELHEX_BINARY),y)
- @$(OBJCOPY) -O ihex $(TOPDIR)/$@ $(TOPDIR)/$@.ihx
+ @$(OBJCOPY) $(OBJCOPYARGS) -O ihex $(TOPDIR)/$@ $(TOPDIR)/$@.ihx
endif
ifeq ($(CONFIG_MOTOROLA_SREC),y)
- @$(OBJCOPY) -O srec $(TOPDIR)/$@ $(TOPDIR)/$@.srec
+ @$(OBJCOPY) $(OBJCOPYARGS) -O srec $(TOPDIR)/$@ $(TOPDIR)/$@.srec
endif
ifeq ($(CONFIG_RAW_BINARY),y)
- @$(OBJCOPY) -O binary $(TOPDIR)/$@ $(TOPDIR)/$@.bin
+ @$(OBJCOPY) $(OBJCOPYARGS) -O binary $(TOPDIR)/$@ $(TOPDIR)/$@.bin
endif
depend: