[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 <stephens@nvidia.com>
This commit is contained in:
Stephen Sun 2021-06-15 22:54:14 +08:00 committed by Qi Luo
parent 26c6f2a4b2
commit a2e729122d
2 changed files with 2 additions and 2 deletions

View File

@ -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

@ -1 +1 @@
Subproject commit 13a09e5177b800f846ca444257f15696c6e17eb8
Subproject commit d7e88d9d70b9e7b9d8b1a81d18f27df8d1056f8e