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 AA0EBA034F; Thu, 25 Feb 2021 18:03:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B7F8160808; Thu, 25 Feb 2021 18:03:14 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 8FD941607FB for ; Thu, 25 Feb 2021 18:03:12 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PH0x7P009415 for ; Thu, 25 Feb 2021 09:03:11 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=jAS1SfYByrEMVL5XwA2A7w5LoC0iSCavppwzjK/o71s=; b=em52oIqkwN271vLJH5qEOblIXr4DYz9u2S1OHpH2nT9Jgn6jmWU9lhbR3RFHdBaoAFmx Sp+w451Axuph7Rpm9BgSIbzkqcPf0by9u1jDFPv8mo4Kkn4lO0dVo2z8dRxTaz325SQ8 CGqUQXhA+3cByilwMxisvi3IS70PfedogYenvTSHg4wX/d2O2jlVQq6xxBaFjU7qrBz5 6aI93z5xy/bWwZtqhm/DOf1IZ5z2xixR3Ot173W9DQgwlfuMVPlrB3V0lv+AdGrsxtQW BQkj2DO8z2spfmnFelJYJehpFQMeaicuwCMtRHITbbWcpJasMsr4HH0NP0eLzMR47zd7 Xw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 36wxbwtvr7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 25 Feb 2021 09:03:11 -0800 Received: from SC-EXCH04.marvell.com (10.93.176.84) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:46 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:45 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 25 Feb 2021 09:02:45 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id AA9BD3F703F; Thu, 25 Feb 2021 09:02:43 -0800 (PST) From: To: , Harman Kalra , Nithin Dabilpuram CC: , Pavan Nikhilesh Date: Thu, 25 Feb 2021 22:32:32 +0530 Message-ID: <20210225170238.15581-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 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 1/7] common/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/common/octeontx/meson.build | 6 ++++++ drivers/common/octeontx2/meson.build | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/common/octeontx/meson.build b/drivers/common/octeontx/meson.build index 203d1ef49..f29b58320 100644 --- a/drivers/common/octeontx/meson.build +++ b/drivers/common/octeontx/meson.build @@ -2,4 +2,10 @@ # Copyright(c) 2018 Cavium, Inc # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('octeontx_mbox.c') diff --git a/drivers/common/octeontx2/meson.build b/drivers/common/octeontx2/meson.build index 84fb11524..3ae106792 100644 --- a/drivers/common/octeontx2/meson.build +++ b/drivers/common/octeontx2/meson.build @@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or 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 -- 2.17.1