Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Makefile: Fix eve-k build for nvidia-jp6#5308

Merged
eriknordmark merged 1 commit into
lf-edge:masterfrom
rene:fix-eve-k-plat-build
Oct 14, 2025
Merged

Makefile: Fix eve-k build for nvidia-jp6#5308
eriknordmark merged 1 commit into
lf-edge:masterfrom
rene:fix-eve-k-plat-build

Conversation

@rene

@rene rene commented Oct 14, 2025

Copy link
Copy Markdown
Contributor

Description

Makefile is not taking into account build-<PLATFORM>.yml files when HV=k. For example:

make ZARCH=arm64 HV=k PLATFORM=nvidia-jp6 pkg/nvidia

Should build pkg/nvidia for nvidia-jp6 platform, but currently it uses build.yml, which builds for nvidia-jp5. This commit fixes this issue.

How to test and validate this PR

Run:

make ZARCH=arm64 HV=k PLATFORM=nvidia-jp6 pkg/nvidia

Ensure is going to build pkg/nvidia for nvidia-jp6, not nvidia-jp5.

Changelog notes

Fix platform build variants for eve-k.

PR Backports

  • 14.5-stable

Checklist

  • I've provided a proper description
  • I've added the proper documentation
  • I've tested my PR on amd64 device
  • I've tested my PR on arm64 device
  • I've written the test verification instructions
  • I've set the proper labels to this PR
  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

Makefile is not taking into account build-<PLATFORM>.yml files when HV=k.
For example:

make ZARCH=arm64 HV=k PLATFORM=nvidia-jp6 pkg/nvidia

Should build pkg/nvidia for nvidia-jp6 platform, but currently it uses
build.yml, which builds for nvidia-jp5. This commit fixes this issue.

Signed-off-by: Renê de Souza Pinto <[email protected]>
@rene rene requested review from rucoder and zedi-pramodh October 14, 2025 14:42
@rene rene requested a review from eriknordmark as a code owner October 14, 2025 14:42
@rene rene added bug Something isn't working stable Should be backported to stable release(s) labels Oct 14, 2025

@zedi-pramodh zedi-pramodh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eriknordmark eriknordmark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this bug a new/regression due to changin the kubvirt -> k name, or has the bug been there for a while?

@rene

rene commented Oct 14, 2025

Copy link
Copy Markdown
Contributor Author

Is this bug a new/regression due to changin the kubvirt -> k name, or has the bug been there for a while?

I wish I could blame you @eriknordmark 😆 but I can't... the bug was there since 14.5, that's why I will backport it as well...

@eriknordmark eriknordmark merged commit 74e774e into lf-edge:master Oct 14, 2025
43 of 46 checks passed
@rene rene deleted the fix-eve-k-plat-build branch November 18, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working stable Should be backported to stable release(s)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants