Skip to content

Commit

Permalink
fix typo, should use libmath.a
Browse files Browse the repository at this point in the history
Xiangfu Liu committed Dec 13, 2011
1 parent d41c1c9 commit 0ab45bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@ SEGMENTS= -j .text -j .data -j .rodata
LDFLAGS+= -T linker.ld -N
LDFLAGS+= -L$(MMDIR)/software/libbase -L$(MMDIR)/software/libmath -L$(MMDIR)/software/libnet -L$(MMDIR)/software/libhal
LDLIBS= -lbase -lmath -lnet -lhal
LIBS=$(MMDIR)/software/libhpdmc/libhpdmc.a $(MMDIR)/software/libbase/libbase.a \
$(MMDIR)/software/libhal/libhal.a $(MMDIR)/software/libnet/libnet.a
LIBS=$(MMDIR)/software/libbase/libbase.a $(MMDIR)/software/libmath/libmath.a \
$(MMDIR)/software/libnet/libnet.a $(MMDIR)/software/libhal/libhal.a

CFLAGS+= -DVERSION='"$(GIT_VERSION)$(GIT_STATUS)"'

@@ -34,9 +34,6 @@ load: boot.bin
make -C $(MMDIR)/tools/
$(MMDIR)/tools/flterm --port /dev/ttyUSB0 --kernel boot.bin

$(MMDIR)/software/libhpdmc/libhpdmc.a:
make -C $(MMDIR)/software/libhpdmc/

$(MMDIR)/software/libbase/libbase.a:
make -C $(MMDIR)/software/libbase/

@@ -46,6 +43,9 @@ $(MMDIR)/software/libhal/libhal.a:
$(MMDIR)/software/libnet/libnet.a:
make -C $(MMDIR)/software/libnet/

$(MMDIR)/software/libmath/libmath.a:
make -C $(MMDIR)/software/libmath/

.PHONY: clean depend load boot.crc.bin $(LIBS)

boot.crc.bin: boot.bin

0 comments on commit 0ab45bf

Please sign in to comment.