[dpdk-dev] [PATCH 0/2] Enable cross-compilation of DPDK with meson

Bruce Richardson bruce.richardson at intel.com
Tue Dec 19 15:30:31 CET 2017


On Tue, Dec 19, 2017 at 01:25:17PM +0000, Luca Boccassi wrote:
> On Tue, 2017-12-19 at 10:52 +0000, Bruce Richardson wrote:
> > While meson has built-in support for cross-compilation, there can be
> > things
> > inside the meson.build files which cause problems in a cross-compile
> > environment. This patchset fixes a number of issues found when doing
> > test
> > builds for arm architecture.
> > 
> > NOTE: this patchset only contains the fixes made to existing code.
> > The
> > additional files needed for building for an arm target will be sent
> > out as
> > an RFC patch separately, to be picked up by those more familiar with
> > arm
> > architecture and hopefully turned into a production-ready patchset.
> > The
> > resulting arm build was not test run on any platform.
> > 
> > Bruce Richardson (2):
> >   build: remove architecture flag as default C flag
> >   net/pcap: fix cross compilation
> > 
> >  app/test-pmd/meson.build          |  1 +
> >  buildtools/pmdinfogen/meson.build |  3 +--
> >  config/meson.build                |  8 ++++++--
> >  drivers/meson.build               |  2 +-
> >  drivers/net/i40e/meson.build      |  2 +-
> >  drivers/net/ixgbe/meson.build     |  2 +-
> >  drivers/net/pcap/meson.build      | 21 +++++++++++++++------
> >  examples/meson.build              |  2 +-
> >  lib/meson.build                   |  2 +-
> >  meson.build                       |  2 +-
> >  10 files changed, 29 insertions(+), 16 deletions(-)
> 
> Acked-by: Luca Boccassi <bluca at debian.org>
> 
Applied to dpdk-next-build



More information about the dev mailing list