summaryrefslogtreecommitdiff
path: root/config/ppc_64/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'config/ppc_64/meson.build')
-rw-r--r--config/ppc_64/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/ppc_64/meson.build b/config/ppc_64/meson.build
index e207c43..7ceae1d 100644
--- a/config/ppc_64/meson.build
+++ b/config/ppc_64/meson.build
@@ -1,9 +1,11 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
+if not dpdk_conf.get('RTE_ARCH_64')
+ error('Only 64-bit compiles are supported for this platform type')
+endif
dpdk_conf.set('RTE_ARCH', 'ppc_64')
dpdk_conf.set('RTE_ARCH_PPC_64', 1)
-dpdk_conf.set('RTE_ARCH_64', 1)
# overrides specific to ppc64
dpdk_conf.set('RTE_MAX_LCORE', 256)