From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 86C48A00C5; Fri, 11 Feb 2022 12:37:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 71B0942755; Fri, 11 Feb 2022 12:37:40 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 2956142740 for ; Fri, 11 Feb 2022 12:37:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644579459; x=1676115459; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Kp+p1ZffEMJHJm4ynIhjmxNioV8n8WECmtPer5DOVEM=; b=CEguRA7tMeysZ/x9136AH8cN16IS8spyc2vrzg+7nbnRiyoi20zj8Tmu om6Q5rrfqmh7dlIh50CaLyEMh30PTO+RO6upsNy/JtEgw/oWe6T1yznDs TYo/pr8l9pNUYTcGBFsXp0/ahwXykI1bmtClBBVv2kKrHz9h0e/g6oTYi TU612qm/Eqvc+jWgNHIRGYsKZi0jRpvjfTqCUw7bWbOgMCS56m7E3sEMW FJuNFYdlbt17wcRfnIZtKkWcp2AwBSnRPBCofeTy/JjKsJtay5SYbfzOQ O8akkEcuYH4sVnHh80nZAizsyB9qSNdGDcDYFa9ANkjxcxYhSN5EnLzjU Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10254"; a="229682156" X-IronPort-AV: E=Sophos;i="5.88,360,1635231600"; d="scan'208";a="229682156" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2022 03:37:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,360,1635231600"; d="scan'208";a="542053216" Received: from unknown (HELO silpixa00399126.ir.intel.com) ([10.237.223.192]) by orsmga008.jf.intel.com with ESMTP; 11 Feb 2022 03:37:37 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH v5 1/2] buildtools/chkincs: remove unnecesary linkage Date: Fri, 11 Feb 2022 11:36:40 +0000 Message-Id: <20220211113641.755308-2-bruce.richardson@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220211113641.755308-1-bruce.richardson@intel.com> References: <20220204174209.440207-1-bruce.richardson@intel.com> <20220211113641.755308-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The chkincs binary does not actually call any functions in either libs or drivers, so we can simplify the linkage of it to just using shared linkage of the libraries (via meson dependencies). This means a slightly faster link time as well as making the chkincs binary much, much smaller. Signed-off-by: Bruce Richardson --- buildtools/chkincs/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildtools/chkincs/meson.build b/buildtools/chkincs/meson.build index 5ffca89761..7ea136ff95 100644 --- a/buildtools/chkincs/meson.build +++ b/buildtools/chkincs/meson.build @@ -19,12 +19,11 @@ sources += gen_c_files.process(dpdk_chkinc_headers) deps = [] foreach l:enabled_libs - deps += get_variable('static_rte_' + l) + deps += get_variable('shared_rte_' + l) endforeach executable('chkincs', sources, c_args: cflags, include_directories: includes, dependencies: deps, - link_whole: dpdk_static_libraries + dpdk_drivers, install: false) -- 2.32.0