From 4ebafdaf283507b0b471fb66e538c6e87be7c980 Mon Sep 17 00:00:00 2001 From: Stepan Blyshchak <38952541+stepanblyschak@users.noreply.github.com> Date: Tue, 14 Dec 2021 10:56:19 +0200 Subject: [PATCH] [Mellanox][SDK] Build SDK with PRM sniffer support (#9500) - Why I did it To have an ability to use PRM sniffer. - How I did it Enabled the option in configure flags. - How to verify it Built and ran on switch. Enabled the feature in runtime and checked the sniffer recording. Signed-off-by: Stepan Blyschak --- platform/mellanox/sdk-src/sxd-libs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/mellanox/sdk-src/sxd-libs/Makefile b/platform/mellanox/sdk-src/sxd-libs/Makefile index 0b142c9208..892974e75e 100644 --- a/platform/mellanox/sdk-src/sxd-libs/Makefile +++ b/platform/mellanox/sdk-src/sxd-libs/Makefile @@ -20,7 +20,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : ./autogen.sh fi - debuild -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS) + debuild -e 'configure_options=--enable-sniffer=yes' -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS) popd