From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id D57BD12A8 for ; Thu, 14 May 2015 14:30:50 +0200 (CEST) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YssMA-0004xl-So; Thu, 14 May 2015 14:35:21 +0200 Message-ID: <55549578.1020009@6wind.com> Date: Thu, 14 May 2015 14:30:48 +0200 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 MIME-Version: 1.0 To: Keith Wiles , dev@dpdk.org References: <1431386066-6147-1-git-send-email-keith.wiles@intel.com> <1431534934-15278-1-git-send-email-keith.wiles@intel.com> In-Reply-To: <1431534934-15278-1-git-send-email-keith.wiles@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v9 1/2] mk:Simplify the ifdefs in the makefile X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2015 12:30:51 -0000 Hi, On 05/13/2015 06:35 PM, Keith Wiles wrote: > Simplify the ifdefs in rte.app.mk to make the code more > readable and maintainable by introducing a internal > _LDLIBS-y variable to build up the LDLIBS variable. > > The new internal variable _LDLIBS-y should not be > used outside of the rte.app.mk file. > > Signed-off-by: Keith Wiles > --- > mk/rte.app.mk | 243 +++++++++++++++------------------------------------------- > 1 file changed, 61 insertions(+), 182 deletions(-) > > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > index af8a1b0..1a2043a 100644 > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > [...] > > -LDLIBS += $(CPU_LDLIBS) > +LDLIBS += $(_LDLIBS-y) $(CPU_LDLIBS) $(EXTRA_LDLIBS) > > .PHONY: all > all: install You are still adding EXTRA_LDLIBS in a patch called "simplify the ifdefs". A good idea before sending a new version of a patch on the mailing list is to check the list of the modifications that were discussed. Then this list can be added in the cover letter or after the "---" marker of your patch, allowing the reviewers to better understand what changed in this version. Regards, Olivier