summaryrefslogtreecommitdiff
path: root/src/lpc
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-08 11:14:29 -0800
committerKeith Packard <keithp@keithp.com>2013-12-08 11:14:29 -0800
commit52b19511222980138faddb2047707baceff0a596 (patch)
tree82243836e6dc51e4feeff7301f0f98288172a861 /src/lpc
parenta1e4750a7d4af72e8e9086735885f48c9b56c18e (diff)
altos: Build .ihx files for all arm projects
The .ihx version can be processed by the java loader Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc')
-rw-r--r--src/lpc/Makefile-lpc.defs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lpc/Makefile-lpc.defs b/src/lpc/Makefile-lpc.defs
index 32a02a4c..fbd413b0 100644
--- a/src/lpc/Makefile-lpc.defs
+++ b/src/lpc/Makefile-lpc.defs
@@ -16,13 +16,14 @@ vpath ao-make-product.5c $(TOPDIR)/util
.SUFFIXES: .elf .ihx
.elf.ihx:
- objcopy -O ihex $*.elf $@
+ $(ELFTOHEX) --output=$@ $*.elf
ifndef VERSION
include $(TOPDIR)/Version
endif
+ELFTOHEX=$(TOPDIR)/../ao-tools/ao-elftohex/ao-elftohex
CC=$(ARM_CC)
AO_CFLAGS=-I. -I$(TOPDIR)/lpc -I$(TOPDIR)/core -I$(TOPDIR)/drivers -I$(TOPDIR)/product -I$(TOPDIR)