Skip to content

Commit cddb379

Browse files
stephenxsCarl Keene
authored andcommitted
[Mellanox] Adjust Makefile for SDK/python-sdk-api to support both python2 and python3 (sonic-net#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 <[email protected]>
1 parent 1ff26d1 commit cddb379

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

platform/mellanox/sdk-src/python-sdk-api/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
1818
./autogen.sh
1919
fi
2020

21-
debuild -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS)
21+
debuild -e PYTHON_INTERPRETERS="\"python2 python3\"" -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS)
2222

2323
popd
2424

0 commit comments

Comments
 (0)