Make user/vmm depend on benchutil
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 25 Apr 2016 19:46:31 +0000 (15:46 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 2 May 2016 21:11:15 +0000 (17:11 -0400)
We'll need this for vcore ticks.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
Makefile
tests/Makefile

index 1fb54ba..f47ac4a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -592,7 +592,7 @@ benchutil: parlib
 pthread: parlib benchutil
 iplib: parlib
 ndblib: iplib
-vmm: parlib
+vmm: parlib benchutil
 
 PHONY += install-libs $(user-dirs)
 install-libs: $(user-dirs) symlinks cc-exists
index 8f3845c..3127f37 100644 (file)
@@ -8,7 +8,7 @@ TESTS_DIR = tests
 CFLAGS_TESTS += $(CFLAGS_USER) -g
 TESTS_CXXFLAGS += $(CXXFLAGS_USER) -g -std=gnu++11
 
-TESTS_LDLIBS := -lpthread -lbenchutil -lm -liplib -lndblib -lvmm
+TESTS_LDLIBS := -lpthread -lvmm -lbenchutil -lm -liplib -lndblib
 
 TESTS_SRCS_C := $(wildcard $(TESTS_DIR)/*.c)
 TESTS_SRCS_CPP := $(wildcard $(TESTS_DIR)/*.cc)