Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo, should use libmath.a

  • Loading branch information...
commit 0ab45bf8f66ee6b8292aec1dc88927a8164a3fb2 1 parent d41c1c9
Xiangfu Liu authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.