From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C152E1D7 for ; Tue, 19 Dec 2017 11:52:31 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Dec 2017 02:52:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,426,1508828400"; d="scan'208";a="185436225" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.223]) by orsmga005.jf.intel.com with ESMTP; 19 Dec 2017 02:52:28 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: bluca@debian.org, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, Bruce Richardson Date: Tue, 19 Dec 2017 10:52:20 +0000 Message-Id: <20171219105222.198664-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.14.3 Subject: [dpdk-dev] [PATCH 0/2] Enable cross-compilation of DPDK with meson X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2017 10:52:32 -0000 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(-) -- 2.14.3