mk: fix combined library build with Xen driver
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Thu, 3 Dec 2015 07:04:23 +0000 (08:04 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 4 Dec 2015 19:10:35 +0000 (20:10 +0100)
commit539ed5f819c0a70dbd348f5437b30d957d667b3c
tree22b80d1360c2a7e190b11a73e2e76bf4ca52f00b
parent9aa2053c6e81493b23346ff4e387903560de5c81
mk: fix combined library build with Xen driver

Building RTE_LIBRTE_PMD_XENVIRT was broken when RTE_BUILD_COMBINE_LIBS was
enabled (http://dpdk.org/ml/archives/dev/2015-November/028660.html).
Now the underlying issue is rather simple, the xen code needs libxenstore.
But rte.app.mk so far only considered that when RTE_BUILD_COMBINE_LIBS was
disabled.
While it is correct to create the DPDK sublib linking only in the
RTE_BUILD_COMBINE_LIBS=n case, the libxenstore should be added to the linked
libs in any case if RTE_LIBRTE_PMD_XENVIRT is enabled.

Reported-by: Thiago Martins <thiagocmartinsc@gmail.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
mk/rte.app.mk