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 AC861A034F; Thu, 25 Feb 2021 18:03:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 561691607EC; Thu, 25 Feb 2021 18:03:08 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 199751607EC for ; Thu, 25 Feb 2021 18:03:05 +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 11PH0Mkq023109 for ; Thu, 25 Feb 2021 09:03:05 -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=eRL4ORaoIiAsS+uLmShhE/w8DpaR02QKzJA8aFbvAoM=; b=PbFfakqvqrhAlvGdKw1LKm5oU6yG4Pn0NY28LOGq4ZSuClpng2SI/omXdl1E5rz0BHwj FiJ8Qby6Rr+kjLZwQOnL19Aryui23TncZb3V/uuE+TWYmqSb+0fqCF7pq4UphbxAAA7z w2nct6yZ9nQk05FWZoCxyL95vctRgg9FJDlBzN/9xxQ7nW9odsnxwUuPw6XAd6Jw1kPv z9+7W48GizzrcEi6vrAFugiHxdn6Q+6xl1bwJMqPFm0sh3JaRRqiPZJUHabK/UVCncl/ D1s9nKCz1F5FsvoHltLorsEEFnZ7ZnzU4RoBFe442lGF6+Z3RYW2ogakhXr0RcozxJ2M 2Q== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 36wxbv2wsb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 25 Feb 2021 09:03:05 -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:03:03 -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:03:03 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 5EA293F704A; Thu, 25 Feb 2021 09:03:00 -0800 (PST) From: To: , Radha Mohan Chintakuntla , Veerasenareddy Burru CC: , Pavan Nikhilesh Date: Thu, 25 Feb 2021 22:32:37 +0530 Message-ID: <20210225170238.15581-6-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 6/7] raw/octeontx2: enable build only for 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/raw/octeontx2_dma/meson.build | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/raw/octeontx2_dma/meson.build b/drivers/raw/octeontx2_dma/meson.build index 11f74680a..191035125 100644 --- a/drivers/raw/octeontx2_dma/meson.build +++ b/drivers/raw/octeontx2_dma/meson.build @@ -2,14 +2,16 @@ # Copyright(C) 2019 Marvell International Ltd. # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + deps += ['bus_pci', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif foreach flag: extra_flags if cc.has_argument(flag) -- 2.17.1