Re: [dpdk-dev] [PATCH v2 2/4] build: use version number from config file

2019-03-13 Thread Thomas Monjalon
13/03/2019 12:20, Bruce Richardson: > On Wed, Mar 13, 2019 at 12:13:52PM +0100, Thomas Monjalon wrote: > > 07/03/2019 14:35, Bruce Richardson: > > > +# > > > +# Version information completed when this file is processed for a build > > > +# > > > +CONFIG_RTE_VER_YEAR=__YEAR > > > +CONFIG_RTE_VER_MON

Re: [dpdk-dev] [PATCH v2 2/4] build: use version number from config file

2019-03-13 Thread Bruce Richardson
On Wed, Mar 13, 2019 at 12:13:52PM +0100, Thomas Monjalon wrote: > 07/03/2019 14:35, Bruce Richardson: > > +# > > +# Version information completed when this file is processed for a build > > +# > > +CONFIG_RTE_VER_YEAR=__YEAR > > +CONFIG_RTE_VER_MONTH=__MONTH > > +CONFIG_RTE_VER_MINOR=__MINOR > > +

Re: [dpdk-dev] [PATCH v2 2/4] build: use version number from config file

2019-03-13 Thread Thomas Monjalon
07/03/2019 14:35, Bruce Richardson: > +# > +# Version information completed when this file is processed for a build > +# > +CONFIG_RTE_VER_YEAR=__YEAR > +CONFIG_RTE_VER_MONTH=__MONTH > +CONFIG_RTE_VER_MINOR=__MINOR > +CONFIG_RTE_VER_SUFFIX=__SUFFIX > +CONFIG_RTE_VER_RELEASE=__RELEASE [...] > -/** >

[dpdk-dev] [PATCH v2 2/4] build: use version number from config file

2019-03-07 Thread Bruce Richardson
Since we have the version number in a separate file at the root level, we should not need to duplicate this in rte_version.h too. Best approach here is to move the macros for specifying the year/month/etc. parts from the version header file to the build config file - leaving the other utility macro