From: Ferruh Yigit Date: Wed, 29 Jun 2016 18:34:49 +0000 (+0100) Subject: net/thunderx: add missing external dependency X-Git-Tag: spdx-start~6338 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=be52da5dbd01f6211582d71153eeac6918633952;p=dpdk.git net/thunderx: add missing external dependency To prevent compile error when compiling for shared library: nicvf_hw.o: In function `nicvf_qsize_regbit': nicvf_hw.c:(.text+0xe64): undefined reference to `log2' nicvf_hw.o: In function `nicvf_rss_reta_update': nicvf_hw.c:(.text+0x19dd): undefined reference to `log2' nicvf_hw.o: In function `nicvf_rss_reta_query': nicvf_hw.c:(.text+0x1acb): undefined reference to `log2' Fixes: e438796617dc ("net/thunderx: add PMD skeleton") Signed-off-by: Ferruh Yigit Acked-by: Jerin Jacob --- diff --git a/drivers/net/thunderx/Makefile b/drivers/net/thunderx/Makefile index 078237e3ce..8ea6b454c6 100644 --- a/drivers/net/thunderx/Makefile +++ b/drivers/net/thunderx/Makefile @@ -39,6 +39,8 @@ LIB = librte_pmd_thunderx_nicvf.a CFLAGS += $(WERROR_FLAGS) +LDLIBS += -lm + EXPORT_MAP := rte_pmd_thunderx_nicvf_version.map LIBABIVER := 1