From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC2B5A04B1; Wed, 23 Sep 2020 15:19:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B97761DA39; Wed, 23 Sep 2020 15:19:25 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by dpdk.org (Postfix) with ESMTP id 661201D94A for ; Wed, 23 Sep 2020 15:19:24 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 2E05D970DB; Wed, 23 Sep 2020 15:19:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GGTVcMxdETL8; Wed, 23 Sep 2020 15:19:22 +0200 (CEST) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 630D2970C2; Wed, 23 Sep 2020 15:19:21 +0200 (CEST) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: bruce.richardson@intel.com, Ruifeng.Wang@arm.com, Honnappa.Nagarahalli@arm.com, Phil.Yang@arm.com, vcchunga@amazon.com, Dharmik.Thakkar@arm.com, jerinjacobk@gmail.com, hemant.agrawal@nxp.com Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Date: Wed, 23 Sep 2020 15:19:19 +0200 Message-Id: <1600867161-15673-1-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [RFC PATCH 0/2] Arm build options rework 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The current way of specifying Arm configuration options is insufficient since we can't identify the SoC we're building for from the MIDR information. Instead use user input - the machine meson option to specify the SoC, e.g.: meson soc_test -Dmachine=thunderx meson soc_test --cross-file config/arm/thunderx/arm64_thunderx_linux_gcc We also want to be able to disable which drivers (and possibly libraries) are built without user input. This is useful when building: 1. on an SoC that is slow and we want to build only what is necessary without the user having to check which libraries they have installed 2. a cross build on a fast aarch64 machine but with target SoC which differs in capabilities or libraries. Juraj Linkeš (2): build: rework Arm build options build: disable drivers from file config/arm/arm64_armv8_linux_gcc | 28 ---- .../arm/{ => armada}/arm64_armada_linux_gcc | 2 +- config/arm/armada/meson.build | 31 ++++ config/arm/default/arm64_armv8_linux_gcc | 23 +++ config/arm/default/meson.build | 8 + config/arm/meson.build | 139 +++++++++++------- .../{ => thunderx}/arm64_thunderx_linux_gcc | 2 +- config/arm/thunderx/meson.build | 18 +++ .../thunderxt88/arm64_thunderxt88_linux_gcc | 16 ++ config/arm/thunderxt88/meson.build | 18 +++ config/meson.build | 9 +- drivers/meson.build | 13 +- 12 files changed, 218 insertions(+), 89 deletions(-) delete mode 100644 config/arm/arm64_armv8_linux_gcc rename config/arm/{ => armada}/arm64_armada_linux_gcc (93%) create mode 100644 config/arm/armada/meson.build create mode 100644 config/arm/default/arm64_armv8_linux_gcc create mode 100644 config/arm/default/meson.build rename config/arm/{ => thunderx}/arm64_thunderx_linux_gcc (92%) create mode 100644 config/arm/thunderx/meson.build create mode 100644 config/arm/thunderxt88/arm64_thunderxt88_linux_gcc create mode 100644 config/arm/thunderxt88/meson.build -- 2.20.1