[dpdk-dev] [PATCHv4 4/5] Makefile: Do post processing on objects that register a driver

2016-05-25 Thread Thomas Monjalon
2016-05-25 15:43, Neil Horman: > On Wed, May 25, 2016 at 08:56:25PM +0200, Thomas Monjalon wrote: > > 2016-05-25 13:40, Neil Horman: > > > On Wed, May 25, 2016 at 07:08:19PM +0200, Thomas Monjalon wrote: > > > > 2016-05-24 15:41, Neil Horman: > > > > > + echo MODGEN $@; \ > > > > > +

[dpdk-dev] [PATCHv4 4/5] Makefile: Do post processing on objects that register a driver

2016-05-25 Thread Thomas Monjalon
2016-05-25 13:40, Neil Horman: > On Wed, May 25, 2016 at 07:08:19PM +0200, Thomas Monjalon wrote: > > 2016-05-24 15:41, Neil Horman: > > > + echo MODGEN $@; \ > > > + OBJF=`readlink -f $@`; \ > > > + ${RTE_OUTPUT}/buildtools/pmdinfogen \$$OBJF \$$OBJF.mod.c; \ > > > >

[dpdk-dev] [PATCHv4 4/5] Makefile: Do post processing on objects that register a driver

2016-05-25 Thread Thomas Monjalon
2016-05-24 15:41, Neil Horman: > --- a/mk/internal/rte.compile-pre.mk > +++ b/mk/internal/rte.compile-pre.mk > @@ -80,7 +80,8 @@ C_TO_O_STR = $(subst ','\'',$(C_TO_O)) #'# fix syntax > highlight > C_TO_O_DISP = $(if $(V),"$(C_TO_O_STR)"," HOSTCC $(@)") > else > C_TO_O = $(CC) -Wp,-MD,$(call

[dpdk-dev] [PATCHv4 4/5] Makefile: Do post processing on objects that register a driver

2016-05-25 Thread Neil Horman
On Wed, May 25, 2016 at 10:04:11PM +0200, Thomas Monjalon wrote: > 2016-05-25 15:43, Neil Horman: > > On Wed, May 25, 2016 at 08:56:25PM +0200, Thomas Monjalon wrote: > > > 2016-05-25 13:40, Neil Horman: > > > > On Wed, May 25, 2016 at 07:08:19PM +0200, Thomas Monjalon wrote: > > > > > 2016-05-24

[dpdk-dev] [PATCHv4 4/5] Makefile: Do post processing on objects that register a driver

2016-05-25 Thread Neil Horman
On Wed, May 25, 2016 at 08:56:25PM +0200, Thomas Monjalon wrote: > 2016-05-25 13:40, Neil Horman: > > On Wed, May 25, 2016 at 07:08:19PM +0200, Thomas Monjalon wrote: > > > 2016-05-24 15:41, Neil Horman: > > > > + echo MODGEN $@; \ > > > > + OBJF=`readlink -f $@`; \ > >

[dpdk-dev] [PATCHv4 4/5] Makefile: Do post processing on objects that register a driver

2016-05-25 Thread Neil Horman
On Wed, May 25, 2016 at 07:08:19PM +0200, Thomas Monjalon wrote: > 2016-05-24 15:41, Neil Horman: > > --- a/mk/internal/rte.compile-pre.mk > > +++ b/mk/internal/rte.compile-pre.mk > > @@ -80,7 +80,8 @@ C_TO_O_STR = $(subst ','\'',$(C_TO_O)) #'# fix syntax > > highlight > > C_TO_O_DISP = $(if

[dpdk-dev] [PATCHv4 4/5] Makefile: Do post processing on objects that register a driver

2016-05-24 Thread Neil Horman
Modify the compilation makefile to identify C files that export PMD information, and use that to trigger execution of the pmdinfo binary. If the execution of pmdinfo is successful, compile the output C file to an object, and use the linker to do relocatable linking on the resultant object file