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 9E964A0524; Sun, 13 Dec 2020 00:36:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CC953C9A6; Sun, 13 Dec 2020 00:35:05 +0100 (CET) Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by dpdk.org (Postfix) with ESMTP id 352C7C970 for ; Sun, 13 Dec 2020 00:35:02 +0100 (CET) Received: by mail-lf1-f65.google.com with SMTP id x20so1384816lfe.12 for ; Sat, 12 Dec 2020 15:35:02 -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=ctVXA1ChOf0SYtNmgYuDWwt3zvoB2Pm4/TY91/hLiLJatlmJMjHHGGM7DiH29ODXws VNSeUpHnsTJoVczv91gjFae2Ah6zmlGu0guPEK+qvNegtdTi5+wGP0V73peaKoYn2T30 JvzD445WVlVeM2qfa5siNIFf9VkOj2fhbFfEUy3nQN/ffSutvKYyzaMoG8TGuIUa1z1q bBweU3hCnYVIxzeWDr3+sj9BDahzrxiBhmLfOypksNNIi5nB9YzUFfqEQ2WIOveenZlK B+qkwuO0T5psRXJblE4Arc0RKLUskQzAK70jSHfp4CfBo1TiUdLQIy4W/QcxoUXmCS3v QLYg== 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=IvbNAvhlpGnHXmijo9wTEVmTNmiyNz/SElsRiM23G0wiU/nYkoo1rYy/pyFEYARK8J TCKkuvT173WCNuQYJ06oAoFzGBMcBpMM5MuXedlsQxosdyWldmNWYfdodwi4ZAjuQ/CA UbfuXy423vLF1bQwpXcrAduUidUxdwuol+ii5T4IjcY8BdzKXPev3zX67YeXm/Qdxthc AHzZNqDhi38MrSPG6UeePh4jWqKrxOPj2ffsUiqWubcq8qy17aiU5eI9XnZe66NDV2SJ MLhnuObAkAXHXscFvrwh+TkaXJ85KI+4SU8LmjCL2TSmpkwmxfsRGfwQKuLvO88LmSHB cE3g== X-Gm-Message-State: AOAM533XNYjkPfJUDyOin4+8FGKfeFnlZGNnx8KjaTpZKsI7QJEdOdcE hJw8akKibtMDOF5hdXPtD8MP2DEtXUPup1cU X-Google-Smtp-Source: ABdhPJxi6lRBG5wfw3ZrzZhcIZLAbWImBBzVeValXiKAcZM5DoiBeXfOJn0DWzXWXcLiJoiontXi9Q== X-Received: by 2002:a19:888b:: with SMTP id k133mr6599150lfd.58.1607816100564; Sat, 12 Dec 2020 15:35:00 -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 b22sm1517930lfp.233.2020.12.12.15.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Dec 2020 15:35:00 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Narcisa Ana Maria Vasile , Pallavi Kadam , Dmitry Malloy , Dmitry Kozlyuk Date: Sun, 13 Dec 2020 02:34:47 +0300 Message-Id: <20201212233447.23154-5-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201212233447.23154-1-dmitry.kozliuk@gmail.com> References: <20201212233447.23154-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 4/4] build: enable pmdinfogen for Windows 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" 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