From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH] mk: fix libs installation when installing sdk Date: Fri, 15 Dec 2017 11:25:17 +0100 Message-ID: <20171215102516.ltn5uhrglvvnb66e@platinum> References: <20171214142411.25375-1-olivier.matz@6wind.com> <7350468.cg4rjIInEc@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Samuel Gauthier To: Thomas Monjalon Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 2B897397D for ; Fri, 15 Dec 2017 11:25:25 +0100 (CET) Content-Disposition: inline In-Reply-To: <7350468.cg4rjIInEc@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Dec 15, 2017 at 11:19:57AM +0100, Thomas Monjalon wrote: > 14/12/2017 15:24, Olivier Matz: > > @@ -157,6 +157,8 @@ install-sdk: > > $(Q)cp -a $O/.config $(DESTDIR)$(targetdir) > > $(Q)cp -a $O/app/dpdk-pmdinfogen $(DESTDIR)$(targetdir)/app > > $(Q)$(call rte_symlink, $(DESTDIR)$(includedir), $(DESTDIR)$(targetdir)/include) > > + $(Q)$(call rte_mkdir, $(DESTDIR)$(libdir)) > > + $(Q)cp -a $O/lib/* $(DESTDIR)$(libdir) > > $(Q)$(call rte_symlink, $(DESTDIR)$(libdir), $(DESTDIR)$(targetdir)/lib) > > The libs are already installed with "make install-runtime". > Either we add a dependency between install-sdk and install-runtime, > or we clearly document it. To me, libs are needed when installing the sdk (to compile against them) and when installing the runtime (to use them). Is it a problem to have it in both targets?