From 8665a2cb17fa3de723df1c11478a1ddd734ef51c Mon Sep 17 00:00:00 2001 From: Sandy <143501243+sandylicls@users.noreply.github.com> Date: Wed, 3 Jan 2024 09:49:32 +0800 Subject: [PATCH] Update rules --- platform/broadcom/sonic-platform-modules-cel/debian/rules | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/platform/broadcom/sonic-platform-modules-cel/debian/rules b/platform/broadcom/sonic-platform-modules-cel/debian/rules index 2a8dedb1a137..006caf986883 100755 --- a/platform/broadcom/sonic-platform-modules-cel/debian/rules +++ b/platform/broadcom/sonic-platform-modules-cel/debian/rules @@ -31,11 +31,9 @@ override_dh_auto_build: if [ $$mod = "silverstone-v2" ]; then \ cd $(MOD_SRC_DIR); \ if [ -d $(MOD_SRC_DIR)/$${mod}/pddf ]; then \ - cd $(MOD_SRC_DIR)/$${mod}/pddf; \ - if [ -f sonic_platform_setup.py ]; then \ - python3 sonic_platform_setup.py bdist_wheel -d $(MOD_SRC_DIR)/$${mod}/pddf; \ - echo "Finished makig pddf whl package for $$mod"; \ - fi; \ + cd $(MOD_SRC_DIR)/$${mod}/pddf; \ + python3 -m build --wheel --no-isolation --outdir $(MOD_SRC_DIR)/$${mod}/pddf; \ + echo "Finished making pddf whl package for $$mod"; \ fi; \ continue; \ fi; \