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 2681DA034F; Thu, 25 Feb 2021 18:03:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D72C81607D4; Thu, 25 Feb 2021 18:02:57 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 3AF281607D0 for ; Thu, 25 Feb 2021 18:02:56 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PH0Mkn023109 for ; Thu, 25 Feb 2021 09:02:55 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=NpQPGtF0tAiNgR1MjbJdkCGsZeLWf5mKpRjK9P3Maww=; b=eT9TcmSR9F3DjDJfzQs8rvWH7+2pLcSbkMO6BbjeU7DTQA4+JJuBLiRw88bXSTaiitBi car3898IbVAYkR93GUfSkz7137HlgB4cIvqpWyQAAZLY9qTS2og6O1th/ayob3SyynCx ikSl8NhNRVaQTYvt4ZwhR1zd2xxwveRH8Kc91+YyNezchijnvvbMEekuxd9qLLkhjq6b +kLaIIwrBr55pCQDxSK+9naFTakg45wPK9JJG4l8Xcy5DYt90Rdh8TlLrUAbTI0mFb9n nOznxWIkTYlsknRHt2YXvpQit3J4oF0cpCKnJABD8mKmpQ9qYd9ZSrKqzNcfgjUMEdXs kw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 36wxbv2wr0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 25 Feb 2021 09:02:55 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:53 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 25 Feb 2021 09:02:53 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id E029E3F703F; Thu, 25 Feb 2021 09:02:50 -0800 (PST) From: To: , Harman Kalra , Nithin Dabilpuram , Kiran Kumar K , "Maciej Czekaj" CC: , Pavan Nikhilesh Date: Thu, 25 Feb 2021 22:32:34 +0530 Message-ID: <20210225170238.15581-3-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210225170238.15581-1-pbhagavatula@marvell.com> References: <20210225170238.15581-1-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-02-25_10:2021-02-24, 2021-02-25 signatures=0 Subject: [dpdk-dev] [PATCH 3/7] net/octeontx: enable build only on 64bit Linux 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" From: Pavan Nikhilesh Due to Linux kernel dependency, only enable build for 64bit Linux. Signed-off-by: Pavan Nikhilesh --- drivers/net/octeontx/meson.build | 4 ++-- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/net/thunderx/meson.build | 4 ++-- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/net/octeontx/meson.build b/drivers/net/octeontx/meson.build index 4e784b948..a0d0fb80e 100644 --- a/drivers/net/octeontx/meson.build +++ b/drivers/net/octeontx/meson.build @@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif diff --git a/drivers/net/octeontx2/meson.build b/drivers/net/octeontx2/meson.build index e2c139a8b..6f639fa7e 100644 --- a/drivers/net/octeontx2/meson.build +++ b/drivers/net/octeontx2/meson.build @@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif diff --git a/drivers/net/thunderx/meson.build b/drivers/net/thunderx/meson.build index dad5c5924..97a84d587 100644 --- a/drivers/net/thunderx/meson.build +++ b/drivers/net/thunderx/meson.build @@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif -- 2.17.1