Skip to content

[bcm-genl] Restore DCBDIR path fallback#38

Open
Gfrom2016 wants to merge 1 commit into
sdk-6.5.35-xgsfrom
zitingguo/sdk-6.5.35-xgs-bcm-genl-dcbdir
Open

[bcm-genl] Restore DCBDIR path fallback#38
Gfrom2016 wants to merge 1 commit into
sdk-6.5.35-xgsfrom
zitingguo/sdk-6.5.35-xgs-bcm-genl-dcbdir

Conversation

@Gfrom2016
Copy link
Copy Markdown

Why

sdk-6.5.35-xgs unconditionally errors when DCBDIR is unset, which breaks the SONiC opennsl-modules deb build because debian/rules does not pass DCBDIR to the kernel-module make invocations:

Makefile:38: *** 'The $DCBDIR variable is not set'. Stop. make[5]: *** [.../Make.subdirs:40: bcm-genl] Error 2

How

Restore the same path fallback that sdk-6.5.34-xgs and prior branches use:

ifndef DCBDIR / DCBDIR = $(SDK)/systems/linux/kernel/modules/dcb / endif

The dcb/ source tree exists in this branch so the fallback path is valid. No behavior change for callers that already set DCBDIR; restores buildability when it's unset.

Test

CI verification on sonic-net/sonic-buildimage#27465.

Signed-off-by: zitingguo zitingguo@microsoft.com

sdk-6.5.35-xgs unconditionally errors when DCBDIR is unset, which breaks the SONiC opennsl-modules deb build (debian/rules does not pass DCBDIR). sdk-6.5.34-xgs and earlier branches default DCBDIR to \/systems/linux/kernel/modules/dcb -- restore that pattern here so the SONiC build can clean/compile bcm-genl without external configuration.

Signed-off-by: zitingguo <zitingguo@microsoft.com>
@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

Gfrom2016 added a commit to Gfrom2016/sonic-buildimage that referenced this pull request May 22, 2026
… 15.2

- saibcm-modules: point to sdk-6.5.35-xgs HEAD (b9b3879) which includes the bcm-genl DCBDIR path fallback restoration (sonic-net/saibcm-modules#38).
- sai-modules.mk: bump BRCM_OPENNSL_KERNEL_VERSION 14.3.0.0.0.0.0.0 -> 15.2.0.0.0.0.0.0 to match the SAI 15.2 / SDK 6.5.35 upgrade.

Signed-off-by: zitingguo <zitingguo@microsoft.com>
Gfrom2016 added a commit to Gfrom2016/sonic-buildimage that referenced this pull request May 27, 2026
… 15.2

- saibcm-modules: point to sdk-6.5.35-xgs HEAD (b9b3879) which includes the bcm-genl DCBDIR path fallback restoration (sonic-net/saibcm-modules#38).
- sai-modules.mk: bump BRCM_OPENNSL_KERNEL_VERSION 14.3.0.0.0.0.0.0 -> 15.2.0.0.0.0.0.0 to match the SAI 15.2 / SDK 6.5.35 upgrade.

Signed-off-by: zitingguo <zitingguo@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants