[bcm-genl] Restore DCBDIR path fallback#38
Open
Gfrom2016 wants to merge 1 commit into
Open
Conversation
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>
|
/azp run |
|
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>
7 tasks
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
sdk-6.5.35-xgs unconditionally errors when
DCBDIRis unset, which breaks the SONiCopennsl-modulesdeb build becausedebian/rulesdoes not passDCBDIRto the kernel-module make invocations:Makefile:38: *** 'The $DCBDIR variable is not set'. Stop. make[5]: *** [.../Make.subdirs:40: bcm-genl] Error 2How
Restore the same path fallback that sdk-6.5.34-xgs and prior branches use:
ifndef DCBDIR / DCBDIR = $(SDK)/systems/linux/kernel/modules/dcb / endifThe
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