Must install .map files for ao-load to work
authorKeith Packard <keithp@keithp.com>
Sun, 21 Feb 2010 05:35:43 +0000 (21:35 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 21 Feb 2010 05:35:43 +0000 (21:35 -0800)
ao-load uses the .map files to rewrite the serial number and other
config parameters into the program flash.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/Makefile.proto

index 4f4252ad2848d5cb1043baf2db36246ea21b4a8a..6cb6e0de3e5599bdd754de7dd1b9ed6f0a991893 100644 (file)
@@ -207,8 +207,8 @@ quiet ?= $($1)
 all: ../$(PROG)
 
 ../$(PROG): $(REL) Makefile Makefile.defs ../Makefile.proto
-       $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && mv $(PROG) ..
-       $(call quiet,CHECK_STACK) ../ao.h $(@F:.ihx=.mem)
+       $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && mv $(PROG) $(PMAP) ..
+       $(call quiet,CHECK_STACK) ../ao.h $(PMEM)
 
 ../altitude.h: make-altitude
        nickle $< > $@