From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E09AAA0524; Fri, 8 Jan 2021 03:48:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB396140DF2; Fri, 8 Jan 2021 03:47:40 +0100 (CET) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mails.dpdk.org (Postfix) with ESMTP id B4964140DE3 for ; Fri, 8 Jan 2021 03:47:38 +0100 (CET) Received: by mail-lf1-f42.google.com with SMTP id a12so19557620lfl.6 for ; Thu, 07 Jan 2021 18:47:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mKfGueTukYS9ZvV46ndDlu6bSNYtp889J1FjP+toIeY=; b=Pe7mPLoNg++zsE/c8Zn+swV38YEdDIpJiA4dZOnxz50L+tRaQE6kklp7GjJGSyiCr5 zVCg4QL8sRdsB8KwIXixdLzXAm5JoKs/ygWNphKeacRQ3EI+KMfxXBeUwpQEsYH/vGds UHm/nKvlM/bPA8BSjRg4mCGuhX0uAg7R/CITJSpiu2Abfh+qWqpT0b4eOhL2UPTfjV2Q ykfgwMBBZdHOPtL6OsEJc5QtCs2XDGFhT6AwGKHdZe1/n+J7WToifO/kqI9T4hbczLZ7 RKW5gwS8Xa0u12S7dA5sVf+oqIe7BZKnxDkKGud7xdiyac5Utef2TZSpxaPVweCsOOkE L56Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mKfGueTukYS9ZvV46ndDlu6bSNYtp889J1FjP+toIeY=; b=cDNJgC8SXn3Gl/7b9w+rIy9yQHW1V5z47ISLuqzGel+LGLdAX53Eahw9yxEGaFpa2Z gLn6B5amUMIYP7AF1/vMkUBHVHElRLEO6oMNIn2zyJy5dlBaEG+McnCruCfbrV9EUlOC rO4NtlJe2/CQnL1thxibawMJcUj6J3KoNbAWdZMbBS781w4oCWPG1jZwe7Gm/aKxg9YV fBliRQl+q0gNBtRGsEnci0TiZBTcpL7N5q17e3ATwB8QqAYtJsCxBPYt8+bBMBftierH MzYI5v5HiB2zWX/zyQ1sE5ZV1R2VVmZ47RO25o/lrh6IL3Z7aYQ3pabDCVLWl6TuiHo6 s0DQ== X-Gm-Message-State: AOAM5339hUlpyOVslnEmMr/eVfpCmdCjg5UJGs7uWiWLJvuxtUKCAdCX erIpxbnDWgc1PhyEV9fiMVq7IEGM1Gbt8KsP X-Google-Smtp-Source: ABdhPJwq/ZG1FC02O9Due6Hwjj8kZhkNYQJPYWswxgWCiH6VwE3VIwDNr2ZzrVFMralNxNrK5I31Xg== X-Received: by 2002:a2e:9cc3:: with SMTP id g3mr644789ljj.0.1610074058144; Thu, 07 Jan 2021 18:47:38 -0800 (PST) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id i19sm1733599ljj.26.2021.01.07.18.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jan 2021 18:47:37 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Narcisa Ana Maria Vasile , Pallavi Kadam , Dmitry Malloy , Bruce Richardson , Neil Horman , Dmitry Kozlyuk Date: Fri, 8 Jan 2021 05:47:23 +0300 Message-Id: <20210108024723.26210-5-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210108024723.26210-1-dmitry.kozliuk@gmail.com> References: <20201212233447.23154-1-dmitry.kozliuk@gmail.com> <20210108024723.26210-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 4/4] build: enable pmdinfogen for Windows 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 Sender: "dev" Remove platform restriction when building drivers. Signed-off-by: Dmitry Kozlyuk --- drivers/meson.build | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/drivers/meson.build b/drivers/meson.build index f49d4f79b..1dfa8738f 100644 --- a/drivers/meson.build +++ b/drivers/meson.build @@ -143,20 +143,18 @@ foreach subpath:subdirs # lib and then running pmdinfogen on the contents of # that lib. The final lib reuses the object files and # adds in the new source file. - if not is_windows - out_filename = lib_name + '.pmd.c' - tmp_lib = static_library('tmp_' + lib_name, - sources, - include_directories: includes, - dependencies: static_deps, - c_args: cflags) - objs += tmp_lib.extract_all_objects() - sources = custom_target(out_filename, - command: [pmdinfo, tmp_lib.full_path(), - '@OUTPUT@', pmdinfogen], - output: out_filename, - depends: [tmp_lib]) - endif + out_filename = lib_name + '.pmd.c' + tmp_lib = static_library('tmp_' + lib_name, + sources, + include_directories: includes, + dependencies: static_deps, + c_args: cflags) + objs += tmp_lib.extract_all_objects() + sources = custom_target(out_filename, + command: [pmdinfo, tmp_lib.full_path(), + '@OUTPUT@', pmdinfogen], + output: out_filename, + depends: [tmp_lib]) # now build the static driver static_lib = static_library(lib_name, -- 2.29.2