summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIntel <intel.com>2013-06-03 00:00:00 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-09-17 14:09:22 +0200
commite987449c9fce2ec6210be3d8bad680d08d68c9dc (patch)
tree361b4af49bc697d2b9b8ec9a963570061378e3f7 /mk
parent3778059a51fcbc6b989ca7503a3ff89f6945ddd2 (diff)
downloaddpdk-e987449c9fce2ec6210be3d8bad680d08d68c9dc.zip
dpdk-e987449c9fce2ec6210be3d8bad680d08d68c9dc.tar.gz
dpdk-e987449c9fce2ec6210be3d8bad680d08d68c9dc.tar.xz
timer: prefer TSC to HPET
Signed-off-by: Intel
Diffstat (limited to 'mk')
-rw-r--r--mk/exec-env/linuxapp/rte.vars.mk3
-rw-r--r--mk/rte.app.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/mk/exec-env/linuxapp/rte.vars.mk b/mk/exec-env/linuxapp/rte.vars.mk
index d1b657b..92f30c0 100644
--- a/mk/exec-env/linuxapp/rte.vars.mk
+++ b/mk/exec-env/linuxapp/rte.vars.mk
@@ -42,7 +42,8 @@
#
EXECENV_CFLAGS = -pthread
-EXECENV_LDFLAGS =
+EXECENV_LDFLAGS =
+EXECENV_LDLIBS = -lrt
EXECENV_ASFLAGS =
# force applications to link with gcc/icc instead of using ld
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index 4b80255..2375edc 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -131,6 +131,7 @@ endif
ifeq ($(CONFIG_RTE_LIBC),y)
LDLIBS += -lc
+LDLIBS += -lm
endif
ifeq ($(CONFIG_RTE_LIBGLOSS),y)