From patchwork Thu Apr 15 21:36:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dmitry Kozlyuk X-Patchwork-Id: 91608 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 92507A0C40; Thu, 15 Apr 2021 23:36:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18271162487; Thu, 15 Apr 2021 23:36:39 +0200 (CEST) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by mails.dpdk.org (Postfix) with ESMTP id D7228162483 for ; Thu, 15 Apr 2021 23:36:37 +0200 (CEST) Received: by mail-lf1-f47.google.com with SMTP id f17so34451834lfu.7 for ; Thu, 15 Apr 2021 14:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FVuUoWT+40OAnUjVTd8AhUHqcqsCKt6IcPRDnW4cnNM=; b=La+uPRixe+94tU+WA9xLsaNSnFlpbCkFwbD0jqmOEEXXBQMTkx+MSRDGZyTbYiuVXs 4e+jLc3rg/SzUeNk7sIoGYqXTOQT7/ST1OoiYlJiz1/uacEaYr74hKF5AHsAgIDtQHjT loptboHmEWiAAae20CFx1t+bNo8Qk0KX03j+cxAqeKnHUsSPC7gDaCxITgWxEC3rxUIZ 7xnGYc/5/cktVOEfRmlWNNE0mxQVqktl95TjcZ1IbH0meOqnip61GLkvuVAvFjwzaeHj n3nohJwou9wNW4KaWezkydM1vKkIj38T0+ZDPMbkbLiAPZRugu84ecW5hlAcmf+4exc4 vPRA== 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:mime-version :content-transfer-encoding; bh=FVuUoWT+40OAnUjVTd8AhUHqcqsCKt6IcPRDnW4cnNM=; b=V0D6dD0fkeRD8hGmZyQ3vk7nF+XejD3V7nTxppd3XiYCkguABxrRI7QeEJugqNEQbz pP4khYBgqQPMz3EWOVXy/3AsEOvpjmpYOjq/QppzRQTq+Sfdn9fH67Vj/Mzv+RSY+2CX yJX9cT4jw5lIaznD2dFCcWX+8T6qvPl+2SuDTq5O7VLwjUwZLOnWBsMHfhDNW97PpCfU klcjEOu7yId93acrQ8884eok5XgPNm61NAFvCf3IzaaZIRGPbSeMWib/cnwfZ1Eb5erm fUsf1YQW9TUzD4KfWqHEZI59zRpnEjDixzOGIVC8rbp3a9zBvDG/6lcHHYeCRsOC1Jh9 zZRQ== X-Gm-Message-State: AOAM5318XILJmxgfh8qTrxvFWXc7hv3Uqa5FZ7UnHexOgU727iX8Vbnx oE2TJ2TyzyafNId0A+IhgupbyZM58Uom2POY X-Google-Smtp-Source: ABdhPJz81mDETZaZDa/7BTh//3UqPWIBeH/q3c7iIfIka9rwokIYt15IiKnf53PCmTzFmxrRPcQqdg== X-Received: by 2002:a05:6512:3c8e:: with SMTP id h14mr744579lfv.113.1618522597152; Thu, 15 Apr 2021 14:36:37 -0700 (PDT) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id a9sm778013lfg.281.2021.04.15.14.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 14:36:36 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Kozlyuk , =?utf-8?q?Juraj_Linke=C5=A1?= , Bruce Richardson Date: Fri, 16 Apr 2021 00:36:29 +0300 Message-Id: <20210415213629.30728-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.3 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] buildtools: fix all drivers disabled on 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" buildtools/list-dir-globs.py printed paths with OS directory separator, which is "/" on Unices and "\" on Windows, while Meson code always expected "/". This resulted it all drivers being disabled on Windows. Replace "\" with "/" in script output. Forward slash is a valid, although non-default, separator on Windows, so no paths can be broken by this substitution. Fixes: 2e33309ebe03 ("config: enable/disable drivers in Arm builds") Cc: Juraj Linkeš Signed-off-by: Dmitry Kozlyuk Acked-by: Bruce Richardson --- buildtools/list-dir-globs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/list-dir-globs.py b/buildtools/list-dir-globs.py index 911e267335..d824360d39 100755 --- a/buildtools/list-dir-globs.py +++ b/buildtools/list-dir-globs.py @@ -17,4 +17,4 @@ if path: for p in iglob(os.path.join(root, path)): if os.path.isdir(p): - print(os.path.relpath(p)) + print(os.path.relpath(p).replace('\\', '/'))