Browse files

fix typo, should use libmath.a

  • Loading branch information...
1 parent d41c1c9 commit 0ab45bf8f66ee6b8292aec1dc88927a8164a3fb2 Xiangfu Liu committed Dec 13, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/Makefile
View
10 src/Makefile
@@ -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.