From: "Gonzalez Monroy, Sergio" <sergio.gonzalez.monroy@intel.com>
To: Panu Matilainen <pmatilai@redhat.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v2] mk: fix librte_vhost linking
Date: Wed, 11 Feb 2015 13:47:27 +0000 [thread overview]
Message-ID: <91383E96CE459D47BCE92EFBF5CE73B004F4ACA2@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <24fdb6886ab2d889197b6822be9361b40876bf22.1423662049.git.pmatilai@redhat.com>
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Panu Matilainen
> Sent: Wednesday, February 11, 2015 1:43 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v2] mk: fix librte_vhost linking
>
> librte_vhost is not a plugin but a library, move it to proper section to fix
> sample app build in shared, non-combined library setup.
>
> Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
> ---
> mk/rte.app.mk | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 95dbb0b..334cb25 100644
> --- a/mk/rte.app.mk
> +++ b/mk/rte.app.mk
> @@ -125,6 +125,10 @@ LDLIBS += -lm
> LDLIBS += -lrt
> endif
>
> +ifeq ($(CONFIG_RTE_LIBRTE_VHOST), y)
> +LDLIBS += -lrte_vhost
> +endif
> +
> endif # ! CONFIG_RTE_BUILD_COMBINE_LIBS
>
> ifeq ($(CONFIG_RTE_LIBRTE_PMD_PCAP),y)
> @@ -199,10 +203,6 @@ ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y)
> LDLIBS += -lrte_pmd_virtio_uio
> endif
>
> -ifeq ($(CONFIG_RTE_LIBRTE_VHOST), y)
> -LDLIBS += -lrte_vhost
> -endif
> -
> ifeq ($(CONFIG_RTE_LIBRTE_ENIC_PMD),y)
> LDLIBS += -lrte_pmd_enic
> endif
> --
> 2.1.0
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
next prev parent reply other threads:[~2015-02-11 13:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-11 8:53 [dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, non-combined config Panu Matilainen
2015-02-11 10:51 ` Gonzalez Monroy, Sergio
2015-02-11 11:25 ` Panu Matilainen
2015-02-11 12:31 ` Gonzalez Monroy, Sergio
2015-02-12 15:44 ` Thomas Monjalon
2015-02-13 7:27 ` Panu Matilainen
2015-02-13 9:28 ` Thomas Monjalon
2015-02-13 10:33 ` Panu Matilainen
2015-02-13 10:53 ` Thomas Monjalon
2015-02-13 13:18 ` Thomas Monjalon
2015-02-16 10:01 ` Panu Matilainen
2015-02-16 11:17 ` Thomas Monjalon
2015-02-16 11:58 ` Panu Matilainen
2015-02-11 13:43 ` [dpdk-dev] [PATCH v2] mk: fix librte_vhost linking Panu Matilainen
2015-02-11 13:47 ` Gonzalez Monroy, Sergio [this message]
2015-02-12 16:00 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91383E96CE459D47BCE92EFBF5CE73B004F4ACA2@IRSMSX108.ger.corp.intel.com \
--to=sergio.gonzalez.monroy@intel.com \
--cc=dev@dpdk.org \
--cc=pmatilai@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).