From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gavin Hu Subject: [PATCH v9 0/6] Fix the cross compiling errors Date: Fri, 15 Jun 2018 17:25:59 +0800 Message-ID: <20180615092605.12043-1-gavin.hu@arm.com> References: <20180615080120.29253-1-gavin.hu@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: nd@arm.com, gavin.hu@arm.com To: dev@dpdk.org Return-path: Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id B7B0D1D642 for ; Fri, 15 Jun 2018 11:26:16 +0200 (CEST) In-Reply-To: <20180615080120.29253-1-gavin.hu@arm.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 1. Pre-v5 of this patch set(two patches) is to fix the GNU Makefile based cross compiling errors and add a guiding doc for this. 2. v6 add 5 more new patches to cover meson cross fixes 3. v7 Some minor changes to address the comments: a) trim the commit message b) at the start of the script, test ninja or ninja-build and use it to work out the command to work out. c) use host gcc and clang for the general v8a only to avoid overkill, and use gcc for others. 4. v8 drop one of the new patch as it a similar fix was already upstreamed 5. v8 some minor changes to address the comments, as well some commit message refined. a) move if clause out of the loop for a better program structure. b) echo the correct ninja command actually used. Gavin Hu (4): build: fix the meson build warning devtools: fix the missing ninja command error build: fix the meson cross compile error devtools: expand meson cross compiling test coverage gavin hu (2): mk: fix makefile based cross build errors doc: add a guide doc for cross compiling from x86 buildtools/pmdinfogen/Makefile | 2 +- config/arm/arm64_thunderx_linuxapp_gcc | 1 + config/meson.build | 3 +- devtools/test-meson-builds.sh | 26 +++- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 137 +++++++++++++++++++++ doc/guides/linux_gsg/index.rst | 1 + drivers/meson.build | 3 + examples/meson.build | 4 + lib/meson.build | 4 + mk/toolchain/gcc/rte.toolchain-compat.mk | 5 + mk/toolchain/gcc/rte.vars.mk | 9 ++ test/test/meson.build | 7 +- 12 files changed, 194 insertions(+), 8 deletions(-) create mode 100644 doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst -- 2.11.0