From a93c85a5793852b6edda20bc1100fa9fabd0eb29 Mon Sep 17 00:00:00 2001 From: Monendra Singh Kushwaha Date: Wed, 28 Feb 2024 13:09:06 +0530 Subject: octeon: add support for Marvell Octeon9 SoC Type: feature Signed-off-by: Monendra Singh Kushwaha Change-Id: I5db58b8ec41b45596bc03b4a336a184c17871294 --- src/plugins/dev_octeon/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/plugins/dev_octeon/CMakeLists.txt') diff --git a/src/plugins/dev_octeon/CMakeLists.txt b/src/plugins/dev_octeon/CMakeLists.txt index e8abf1a3389..0f6b32bbecd 100644 --- a/src/plugins/dev_octeon/CMakeLists.txt +++ b/src/plugins/dev_octeon/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 # Copyright(c) 2022 Cisco Systems, Inc. -if (NOT VPP_PLATFORM_NAME STREQUAL "octeon10") +if (NOT VPP_PLATFORM_NAME STREQUAL "octeon10" AND NOT VPP_PLATFORM_NAME STREQUAL "octeon9") return() endif() @@ -21,6 +21,10 @@ endif() include_directories (${OCTEON_ROC_DIR}/) +if (VPP_PLATFORM_NAME STREQUAL "octeon9") + add_compile_definitions(PLATFORM_OCTEON9) +endif() + add_vpp_plugin(dev_octeon SOURCES init.c -- cgit 1.2.3-korg