DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Remy Horton <remy.horton@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v10 2/4] mk: Fix missing directory with combined extlib build
Date: Tue, 08 Dec 2015 01:49:47 +0100	[thread overview]
Message-ID: <4540150.cJ2HfHJFer@xps13> (raw)
In-Reply-To: <1449496140-11758-3-git-send-email-remy.horton@intel.com>

2015-12-07 13:48, Remy Horton:
> Signed-off-by: Remy Horton <remy.horton@intel.com>
> ---
>  mk/rte.extlib.mk | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/mk/rte.extlib.mk b/mk/rte.extlib.mk
> index 4d459e4..47023a3 100644
> --- a/mk/rte.extlib.mk
> +++ b/mk/rte.extlib.mk
> @@ -42,11 +42,17 @@ export NOT_FIRST_CALL
>  
>  all:
>  	$(Q)mkdir -p $(RTE_OUTPUT)
> +ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),y)
> +	$(Q)mkdir -p $(RTE_OUTPUT)/build/lib
> +endif

This directory is created to copy an object file which is not never used.

I suggest this approach instead:

--- a/mk/rte.lib.mk
+++ b/mk/rte.lib.mk
@@ -136,7 +136,7 @@ endif
                $(depfile_newer)),\
                $(O_TO_S_DO))
 
-ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),y)
+ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS)$(EXTLIB_BUILD),yn)
        $(if $(or \
         $(file_missing),\
         $(call cmdline_changed,$(O_TO_C_STR)),\
@@ -159,7 +159,7 @@ $(LIB): $(OBJS-y) $(DEP_$(LIB)) FORCE
            $(depfile_missing),\
            $(depfile_newer)),\
            $(O_TO_A_DO))
-ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),y)
+ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS)$(EXTLIB_BUILD),yn)
        $(if $(or \
         $(file_missing),\
         $(call cmdline_changed,$(O_TO_C_STR)),\

The combine lib is not prepared for external lib objects.

  reply	other threads:[~2015-12-08  0:50 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1443593929-1804-1-git-send-email-remy.horton@intel.com>
2015-09-30  6:18 ` [dpdk-dev] [PATCH v1 1/2] l2fwd: Fix coding standard errors Remy Horton
2015-09-30  6:18 ` [dpdk-dev] [PATCH v1 2/2] User-space ethtool sample application Remy Horton
2015-10-26 15:59 ` [dpdk-dev] [PATCH v2 0/2] " Remy Horton
2015-10-26 15:59   ` [dpdk-dev] [PATCH v2 1/2] example: " Remy Horton
2015-10-26 15:59   ` [dpdk-dev] [PATCH v2 2/2] doc: " Remy Horton
2015-10-28 11:12   ` [dpdk-dev] [PATCH v3 0/2] " Remy Horton
2015-10-28 11:12     ` [dpdk-dev] [PATCH v3 1/2] example: add user-space " Remy Horton
2015-10-28 11:12     ` [dpdk-dev] [PATCH v3 2/2] doc: add user-space ethtool sample app guide Remy Horton
2015-10-28 13:52     ` [dpdk-dev] [PATCH v3 0/2] User-space ethtool sample application Ananyev, Konstantin
2015-10-29 12:11     ` [dpdk-dev] [PATCH v4 " Remy Horton
2015-10-29 12:11       ` [dpdk-dev] [PATCH v4 1/2] example: add user-space " Remy Horton
2015-10-29 12:11       ` [dpdk-dev] [PATCH v4 2/2] doc: add user-space ethtool sample app guide Remy Horton
2015-10-29 14:14       ` [dpdk-dev] [PATCH v5 0/2] User-space ethtool sample application Remy Horton
2015-10-29 14:14         ` [dpdk-dev] [PATCH v5 1/2] example: add user-space " Remy Horton
2015-10-29 14:14         ` [dpdk-dev] [PATCH v5 2/2] doc: add user-space ethtool sample app guide Remy Horton
2015-10-29 14:19         ` [dpdk-dev] [PATCH v5 0/2] User-space ethtool sample application Ananyev, Konstantin
2015-11-06 16:11         ` [dpdk-dev] [PATCH v6 " Remy Horton
2015-11-06 16:11           ` [dpdk-dev] [PATCH v6 1/2] example: add user-space " Remy Horton
2015-11-06 16:11           ` [dpdk-dev] [PATCH v6 2/2] doc: add user-space ethtool sample app guide Remy Horton
2015-11-13 16:52             ` Mcnamara, John
2015-11-16 10:56               ` Remy Horton
2015-11-06 16:38           ` [dpdk-dev] [PATCH v6 0/2] User-space ethtool sample application Ananyev, Konstantin
2015-11-16 13:30           ` [dpdk-dev] [PATCH v7 " Remy Horton
2015-11-16 13:30             ` [dpdk-dev] [PATCH v7 1/2] example: add user-space " Remy Horton
2015-11-16 13:30             ` [dpdk-dev] [PATCH v7 2/2] doc: add user-space ethtool sample app guide Remy Horton
2015-11-16 13:42             ` [dpdk-dev] [PATCH v8 0/2] User-space ethtool sample application Remy Horton
2015-11-16 13:42               ` [dpdk-dev] [PATCH v8 1/2] example: add user-space " Remy Horton
2015-11-16 13:42               ` [dpdk-dev] [PATCH v8 2/2] doc: add user-space ethtool sample app guide Remy Horton
2015-11-16 14:16                 ` Mcnamara, John
2015-11-16 13:50               ` [dpdk-dev] [PATCH v8 0/2] User-space ethtool sample application Thomas Monjalon
2015-11-20 15:34               ` [dpdk-dev] [PATCH v9 0/3] " Remy Horton
2015-11-20 15:34                 ` [dpdk-dev] [PATCH v9 1/3] Remove ABI requirement for external library builds Remy Horton
     [not found]                   ` <2601191342CEEE43887BDE71AB97725836ACAB5A@irsmsx105.ger.corp.intel.com>
2015-11-20 16:32                     ` Wang, Liang-min
2015-11-20 15:34                 ` [dpdk-dev] [PATCH v9 2/3] example: add user-space ethtool sample application Remy Horton
2015-11-20 17:15                   ` Ananyev, Konstantin
2015-12-07  2:29                   ` Thomas Monjalon
2015-12-07 11:54                     ` Remy Horton
2015-11-20 15:34                 ` [dpdk-dev] [PATCH v9 3/3] doc: add user-space ethtool sample app guide Remy Horton
2015-11-20 17:16                   ` Ananyev, Konstantin
2015-12-01 12:05                     ` Mcnamara, John
2015-11-24  3:05                 ` [dpdk-dev] [PATCH v9 0/3] User-space ethtool sample application Liu, Yong
2015-12-07 13:48                 ` [dpdk-dev] [PATCH v10 0/4] " Remy Horton
2015-12-07 13:48                   ` [dpdk-dev] [PATCH v10 1/4] Remove ABI requirement for external library builds Remy Horton
2015-12-07 13:48                   ` [dpdk-dev] [PATCH v10 2/4] mk: Fix missing directory with combined extlib build Remy Horton
2015-12-08  0:49                     ` Thomas Monjalon [this message]
2015-12-07 13:48                   ` [dpdk-dev] [PATCH v10 3/4] example: add user-space ethtool sample application Remy Horton
2015-12-07 13:49                   ` [dpdk-dev] [PATCH v10 4/4] doc: add user-space ethtool sample app guide Remy Horton
2015-12-08  0:30                     ` Thomas Monjalon
2015-12-08  0:33                   ` [dpdk-dev] [PATCH v10 0/4] User-space ethtool sample application 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=4540150.cJ2HfHJFer@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=remy.horton@intel.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).