From a2e729122d3f1e12a167c7df342eae4814b0180b Mon Sep 17 00:00:00 2001 From: Stephen Sun <5379172+stephenxs@users.noreply.github.com> Date: Tue, 15 Jun 2021 22:54:14 +0800 Subject: [PATCH] [Mellanox] Adjust Makefile for SDK/python-sdk-api to support both python2 and python3 (#7848) - Why I did it Adjust the Makefile for SDK/python-SDK-API to support both python2 and python3 - How to verify it Build the image and check whether python2 and python3 are both supported by SDK API. Signed-off-by: Stephen Sun --- platform/mellanox/sdk-src/python-sdk-api/Makefile | 2 +- platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/mellanox/sdk-src/python-sdk-api/Makefile b/platform/mellanox/sdk-src/python-sdk-api/Makefile index 9c41be7572..47f0ad5a01 100644 --- a/platform/mellanox/sdk-src/python-sdk-api/Makefile +++ b/platform/mellanox/sdk-src/python-sdk-api/Makefile @@ -18,7 +18,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : ./autogen.sh fi - debuild -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS) + debuild -e PYTHON_INTERPRETERS="\"python2 python3\"" -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS) popd diff --git a/platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers b/platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers index 13a09e5177..d7e88d9d70 160000 --- a/platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers +++ b/platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers @@ -1 +1 @@ -Subproject commit 13a09e5177b800f846ca444257f15696c6e17eb8 +Subproject commit d7e88d9d70b9e7b9d8b1a81d18f27df8d1056f8e