From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Horman Subject: Re: [PATCH v2 1/4] compat: Add infrastructure to support symbol versioning Date: Tue, 23 Dec 2014 10:50:23 -0500 Message-ID: <20141223155023.GF31876@hmsreliant.think-freely.org> References: <1419109299-9603-1-git-send-email-nhorman@tuxdriver.com> <1419279860-16985-1-git-send-email-nhorman@tuxdriver.com> <91383E96CE459D47BCE92EFBF5CE73B004F210D1@IRSMSX108.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev-VfR2kkLFssw@public.gmane.org" To: "Gonzalez Monroy, Sergio" Return-path: Content-Disposition: inline In-Reply-To: <91383E96CE459D47BCE92EFBF5CE73B004F210D1-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Tue, Dec 23, 2014 at 01:27:32PM +0000, Gonzalez Monroy, Sergio wrote: > > From: Neil Horman [mailto:nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org] > > Sent: Monday, December 22, 2014 8:24 PM > > +++ b/lib/librte_compat/Makefile > >[...] > > + > > +include $(RTE_SDK)/mk/rte.vars.mk > > + > > + > > +# install includes > > +SYMLINK-y-include := rte_compat.h > > + > > +include $(RTE_SDK)/mk/rte.lib.mk > > > I just realized that we can avoid doing the _INSTALL change below if we include > mk/rte_install.mk instead of mk/rte_lib.mk, as it is done in librte_net. > > Regards, > Sergio > But doing so limits the compat directory to only install headers, correct? I'm ok with that mind you, just need to keep it in mind if we ever add any sort of compatibility code there. Neil > > diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk index 81bf8e1..cbd439b 100644 > > --- a/mk/rte.lib.mk > > +++ b/mk/rte.lib.mk > > @@ -40,10 +40,17 @@ VPATH += $(SRCDIR) > > [...] > > + > > _BUILD = $(LIB) > > -_INSTALL = $(INSTALL-FILES-y) $(SYMLINK-FILES-y) > > $(RTE_OUTPUT)/lib/$(LIB) > > +_INSTALL = $(INSTALL-FILES-y) $(SYMLINK-FILES-y) ifneq ($(LIB),) > > +_INSTALL += $(RTE_OUTPUT)/lib/$(LIB) endif > > _CLEAN = doclean > > > > .PHONY: all > > -- > > 1.9.3 > >