Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UefiPayloadPkg: fix output dir name generation in .dsc #6262

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leiflindholm
Copy link
Member

I can only assume this has only been tested in environments where for some reason BUILD_ARCH is set for reasons unrelated to the EDK2 build system. When attempting to build directly, I ended up with a directory 'UefiPayloadPkg$(BUILD_ARCH)' created and the build immediately failing.

Change the .dsc to use ARCH instead, which is set by the build system.

  • [?] Breaking change?
    I don't know the situation in which the existing setup could work, so I'm unsure whether this change affects any build-time behaviours there.

I can only assume this has only been tested in environments where for
some reason BUILD_ARCH is set for reasons unrelated to the EDK2 build
system. When attempting to build directly, I ended up with a directory
'UefiPayloadPkg$(BUILD_ARCH)' created and the build immediately failing.

Change the .dsc to use ARCH instead, which *is* set by the build
system.

Signed-off-by: Leif Lindholm <[email protected]>
@leiflindholm
Copy link
Member Author

OK, so the cure is as bad as the disease. I'll need to ponder this one for a while.

@leiflindholm leiflindholm marked this pull request as draft September 30, 2024 14:52
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.

1 participant