diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-27 19:50:35 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-27 19:50:35 +0000 |
commit | 34abeda54d7093df62fc2808601c7d7e0bb2ab1c (patch) | |
tree | 84593559b23d580c9330f7c2ca516069a166c789 /nuttx/arch/8051 | |
parent | a500a9ab6d73b61328c3e42e4b1e103ad0656e07 (diff) | |
download | px4-nuttx-34abeda54d7093df62fc2808601c7d7e0bb2ab1c.tar.gz px4-nuttx-34abeda54d7093df62fc2808601c7d7e0bb2ab1c.tar.bz2 px4-nuttx-34abeda54d7093df62fc2808601c7d7e0bb2ab1c.zip |
Add support for the Atollic Pro toolchain; Change extension .ihx to .hex to be better compatible with most of the rest of the world
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4431 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/8051')
-rw-r--r-- | nuttx/arch/8051/src/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/arch/8051/src/Makefile b/nuttx/arch/8051/src/Makefile index 87ff4daf5..47d828b2f 100644 --- a/nuttx/arch/8051/src/Makefile +++ b/nuttx/arch/8051/src/Makefile @@ -171,7 +171,7 @@ board/libboard$(LIBEXT): # This target builds the final executable -pass1.ihx: up_mem.h $(SDCCLIBDIR)/libmysdcc.lib $(LINKOBJS) board/libboard$(LIBEXT) +pass1.hex: up_mem.h $(SDCCLIBDIR)/libmysdcc.lib $(LINKOBJS) board/libboard$(LIBEXT) @echo "LD: $@" @$(CC) $(LDFLAGS) $(LDPATHES) -L$(BOARDDIR) $(SDCCPATH) $(LINKOBJS) \ $(LDLIBS) -llibboard$(LIBEXT) $(SDCCLIBS) -o $@ @@ -179,14 +179,14 @@ pass1.ihx: up_mem.h $(SDCCLIBDIR)/libmysdcc.lib $(LINKOBJS) board/libboard$(LIBE @rm -f up_allocateheap$(OBJEXT) libarch$(LIBEXT) @$(MAKE) TOPDIR=$(TOPDIR) libarch$(LIBEXT) -nuttx.ihx: up_mem.h $(SDCCLIBDIR)/libmysdcc.lib $(LINKOBJS) +nuttx.hex: up_mem.h $(SDCCLIBDIR)/libmysdcc.lib $(LINKOBJS) @echo "LD: $@" @$(CC) $(LDFLAGS) $(LDPATHES) -L$(BOARDDIR) $(SDCCPATH) $(LINKOBJS) \ $(LDLIBS) -llibboard$(LIBEXT) $(SDCCLIBS) -o $@ -nuttx$(EXEEXT): pass1.ihx nuttx.ihx +nuttx$(EXEEXT): pass1.hex nuttx.hex @rm -f pass1.* - @packihx nuttx.ihx > $(TOPDIR)/nuttx$(EXEEXT) + @packihx nuttx.hex > $(TOPDIR)/nuttx$(EXEEXT) @cp -f nuttx.map $(TOPDIR)/. # This is part of the top-level export target @@ -202,11 +202,11 @@ export_head: board/libboard$(LIBEXT) p_head$(OBJEXT) # This target builds a test program to verify interrupt context switching. irqtest is # a PHONY target that just sets upt the up_irqtest build correctly -up_irqtest.ihx: $(TESTOBJS) +up_irqtest.hex: $(TESTOBJS) $(CC) $(LDFLAGS) -L. $(SDCCPATH) $(TESTLINKOBJS) $(TESTOBJS) $(TESTEXTRAOBJS) $(SDCCLIBS) -o $@ irqtest: - @$(MAKE) TOPDIR=../../.. up_irqtest.ihx + @$(MAKE) TOPDIR=../../.. up_irqtest.hex # Build dependencies |