From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 9BA5E354D for ; Thu, 29 Mar 2018 15:54:53 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2018 06:54:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,376,1517904000"; d="scan'208";a="32471968" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.223]) by fmsmga002.fm.intel.com with ESMTP; 29 Mar 2018 06:54:52 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: hemant.agrawal@nxp.com, shreyansh.jain@nxp.com, Bruce Richardson Date: Thu, 29 Mar 2018 14:54:36 +0100 Message-Id: <20180329135436.92878-7-bruce.richardson@intel.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180329135436.92878-1-bruce.richardson@intel.com> References: <20180329135436.92878-1-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH 6/6] drivers/dpaa*: reduce meson dependency lists 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: Thu, 29 Mar 2018 13:54:54 -0000 Meson build currently tracks the dependencies between libraries, which can often make things easier, but has the side-effect of slowing down the initial meson run if too many duplicated dependencies are provided. Therefore, we remove dependencies from the dpaa items where other dependencies already depend on those. This provides a noticable speed-up in meson configuration runs when lots of sample apps are included in the build. Signed-off-by: Bruce Richardson --- drivers/bus/dpaa/meson.build | 2 +- drivers/bus/fslmc/meson.build | 2 +- drivers/crypto/dpaa2_sec/meson.build | 2 +- drivers/event/dpaa/meson.build | 2 +- drivers/event/dpaa2/meson.build | 2 +- drivers/mempool/dpaa2/meson.build | 2 +- drivers/net/dpaa/meson.build | 2 +- drivers/net/dpaa2/meson.build | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/bus/dpaa/meson.build b/drivers/bus/dpaa/meson.build index f5c6d7bb6..d10b62c03 100644 --- a/drivers/bus/dpaa/meson.build +++ b/drivers/bus/dpaa/meson.build @@ -5,7 +5,7 @@ if host_machine.system() != 'linux' build = false endif -deps += ['ethdev', 'eventdev'] +deps += ['eventdev'] sources = files('base/fman/fman.c', 'base/fman/fman_hw.c', 'base/fman/netcfg_layer.c', diff --git a/drivers/bus/fslmc/meson.build b/drivers/bus/fslmc/meson.build index e94340eae..d743f710b 100644 --- a/drivers/bus/fslmc/meson.build +++ b/drivers/bus/fslmc/meson.build @@ -5,7 +5,7 @@ if host_machine.system() != 'linux' build = false endif -deps += ['ethdev', 'eventdev', 'kvargs'] +deps += ['eventdev', 'kvargs'] sources = files('fslmc_bus.c', 'fslmc_vfio.c', 'mc/dpbp.c', diff --git a/drivers/crypto/dpaa2_sec/meson.build b/drivers/crypto/dpaa2_sec/meson.build index 0fb4d961e..01afc5877 100644 --- a/drivers/crypto/dpaa2_sec/meson.build +++ b/drivers/crypto/dpaa2_sec/meson.build @@ -5,7 +5,7 @@ if host_machine.system() != 'linux' build = false endif -deps += ['bus_fslmc', 'security', 'mempool_dpaa2'] +deps += ['security', 'mempool_dpaa2'] sources = files('dpaa2_sec_dpseci.c', 'mc/dpseci.c') diff --git a/drivers/event/dpaa/meson.build b/drivers/event/dpaa/meson.build index 9bbd6c2a1..0914f858e 100644 --- a/drivers/event/dpaa/meson.build +++ b/drivers/event/dpaa/meson.build @@ -4,7 +4,7 @@ if host_machine.system() != 'linux' build = false endif -deps += ['mempool_dpaa', 'bus_dpaa', 'pmd_dpaa'] +deps += ['pmd_dpaa'] sources = files('dpaa_eventdev.c') allow_experimental_apis = true diff --git a/drivers/event/dpaa2/meson.build b/drivers/event/dpaa2/meson.build index 835460c5d..de7a46155 100644 --- a/drivers/event/dpaa2/meson.build +++ b/drivers/event/dpaa2/meson.build @@ -4,7 +4,7 @@ if host_machine.system() != 'linux' build = false endif -deps += ['mempool_dpaa2', 'bus_fslmc', 'bus_vdev', 'pmd_dpaa2'] +deps += ['bus_vdev', 'pmd_dpaa2'] sources = files('dpaa2_hw_dpcon.c', 'dpaa2_eventdev.c') diff --git a/drivers/mempool/dpaa2/meson.build b/drivers/mempool/dpaa2/meson.build index dee3a88ab..08e753060 100644 --- a/drivers/mempool/dpaa2/meson.build +++ b/drivers/mempool/dpaa2/meson.build @@ -5,5 +5,5 @@ if host_machine.system() != 'linux' build = false endif -deps += ['mbuf', 'bus_fslmc'] +deps += ['bus_fslmc'] sources = files('dpaa2_hw_mempool.c') diff --git a/drivers/net/dpaa/meson.build b/drivers/net/dpaa/meson.build index a4c40a680..62dec7b04 100644 --- a/drivers/net/dpaa/meson.build +++ b/drivers/net/dpaa/meson.build @@ -4,7 +4,7 @@ if host_machine.system() != 'linux' build = false endif -deps += ['bus_dpaa', 'mempool_dpaa'] +deps += ['mempool_dpaa'] sources = files('dpaa_ethdev.c', 'dpaa_rxtx.c') diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index ad1724d44..c9bd97a69 100644 --- a/drivers/net/dpaa2/meson.build +++ b/drivers/net/dpaa2/meson.build @@ -5,7 +5,7 @@ if host_machine.system() != 'linux' build = false endif -deps += ['bus_fslmc', 'mempool_dpaa2'] +deps += ['mempool_dpaa2'] sources = files('base/dpaa2_hw_dpni.c', 'dpaa2_ethdev.c', 'dpaa2_rxtx.c', -- 2.14.3