Skip to content

Commit

Permalink
[Mellanox] Add arch folder to SDK binary location (#11278)
Browse files Browse the repository at this point in the history
- Why I did it
This is for the eventual support of multiple architectures for the mellanox platform.

- How I did it
Change the location of the binaries in Switch-SDK-drivers so that the path specifies the target architecture in addition to the target distribution that the debians are built for.

This is the most straightforward way to separate binaries built against different architectures and selectively target them for installation in the mellanox SONiC image.

- How to verify it
Build SONiC for mellanox and verify it compiles successfully.
  • Loading branch information
alexrallen authored Jun 29, 2022
1 parent 1720fa2 commit 3ba9ae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers
Submodule Switch-SDK-drivers updated 67 files
+ bin/bullseye/amd64/applibs-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/applibs-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/applibs_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/iproute2-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/iproute2-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/iproute2_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/python-sdk-api-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/python-sdk-api_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-acl-helper-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-acl-helper-dev-static_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-acl-helper-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-acl-helper_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-complib-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-complib-dev-static_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-complib-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-complib_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-examples-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-examples-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-examples_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-gen-utils-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-gen-utils-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-gen-utils_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-kernel-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-kernel_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-scew-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-scew-dev-static_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-scew-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sx-scew_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sxd-libs-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sxd-libs-dev-static_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sxd-libs-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/sxd-libs_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/wjh-libs-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/wjh-libs-dev-static_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/wjh-libs-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/bullseye/amd64/wjh-libs_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/applibs-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/applibs-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/applibs_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/iproute2-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/iproute2-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/iproute2_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/python-sdk-api-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/python-sdk-api_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-acl-helper-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-acl-helper-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-acl-helper_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-complib-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-complib-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-complib_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-examples-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-examples-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-examples_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-gen-utils-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-gen-utils-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-gen-utils_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-kernel-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-kernel_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-scew-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-scew-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sx-scew_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sxd-libs-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sxd-libs-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/sxd-libs_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/wjh-libs-dbgsym_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/wjh-libs-dev_1.mlnx.4.5.2262_amd64.deb
+ bin/buster/amd64/wjh-libs_1.mlnx.4.5.2262_amd64.deb
2 changes: 1 addition & 1 deletion platform/mellanox/sdk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
#
MLNX_SDK_BASE_PATH = $(PLATFORM_PATH)/sdk-src/sx-kernel/Switch-SDK-drivers/bin/
MLNX_SDK_PKG_BASE_PATH = $(MLNX_SDK_BASE_PATH)/$(BLDENV)/
MLNX_SDK_PKG_BASE_PATH = $(MLNX_SDK_BASE_PATH)/$(BLDENV)/$(CONFIGURED_ARCH)/
MLNX_SDK_VERSION = 4.5.2262
MLNX_SDK_ISSU_VERSION = 101

Expand Down

0 comments on commit 3ba9ae2

Please sign in to comment.