diff options
author | Keith Packard <keithp@keithp.com> | 2014-01-31 17:44:45 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-02-08 22:03:19 -0800 |
commit | dc99290f5537b43004cbf7fdfb8bae1588583a58 (patch) | |
tree | 409f80fb339d5d0f9364f3ff380e194d5658c08b | |
parent | e3d23fff55db1768c8b2cd1ae40dcf68f69725e6 (diff) |
altos/fox: Transition to current altos build environment
Fix the library usage, use $(LIBS) instead of $(SAT_CLIB) -lgcc
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/fox1ihu/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fox1ihu/Makefile b/src/fox1ihu/Makefile index d80cb7af..e3226a24 100644 --- a/src/fox1ihu/Makefile +++ b/src/fox1ihu/Makefile @@ -31,6 +31,7 @@ INC = \ #STACK_GUARD_DEF=-DHAS_STACK_GUARD=1 ALTOS_SRC = \ + ao_boot_chain.c \ ao_interrupt.c \ ao_product.c \ ao_romconfig.c \ @@ -62,14 +63,15 @@ CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STA PROGNAME=fox1ihu-v0.1 PROG=$(PROGNAME)-$(VERSION).elf +HEX=$(PROGNAME)-$(VERSION).ihx SRC=$(ALTOS_SRC) ao_fox1ihu.c OBJ=$(SRC:.c=.o) -all: $(PROG) +all: $(PROG) $(HEX) $(PROG): Makefile $(OBJ) altos.ld - $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(SAT_CLIB) -lgcc + $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS) $(OBJ): $(INC) |