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

Skip to content

Conversation

@rucoder
Copy link
Contributor

@rucoder rucoder commented May 22, 2025

Description

  • Move PLATFORM definition to main Makefile and define it before it is used. Currently TARGPLAT was never set to empty string
  • Use $(first-word) to get only the first modifier for platfroms like nvidia-jp5. The second file images/modifiers/jp5.yq is ignored by tools/compose-image-yml.sh but it is not expected to be passed at all

PR dependencies

How to test and validate this PR

build all platforms and validate they are built properly

PR Backports

  • 14.5-stable
  • 13.4-stable
  • 12.0-stable

Checklist

  • I've provided a proper description
  • I've added the proper documentation (when applicable)
  • I've tested my PR on amd64 device(s)
  • I've tested my PR on arm64 device(s)
  • I've written the test verification instructions
  • I've set the proper labels to this PR

@rucoder rucoder requested a review from eriknordmark as a code owner May 22, 2025 13:51
@OhmSpectator OhmSpectator added the stable Should be backported to stable release(s) label May 22, 2025
- Move PLATFORM definition to main Makefile and define it bofor it is
  used. Currently TARGPLAT was never set to empty string
- Use $(first-word) to get only the first modifier for platforms like
  nvidia-jp5. The second file images/modifiers/jp5.yq is ignored by
  tools/compose-image-yml.sh but it is not expected to be passed at all

Signed-off-by: Mikhail Malyshev <[email protected]>
@rucoder rucoder force-pushed the rucoder/makefile-fix branch from 51c385d to 1f78fdb Compare May 22, 2025 14:09
Copy link
Contributor

@rene rene left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@OhmSpectator OhmSpectator left a comment

Choose a reason for hiding this comment

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

@rucoder explained it to me directly. Looks good.

@eriknordmark eriknordmark merged commit 02784a5 into lf-edge:master May 22, 2025
45 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable Should be backported to stable release(s)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants