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

Bad variable interpolation in UefiPayloadPkg.dsc #6135

Open
matdibu opened this issue Aug 29, 2024 · 2 comments
Open

Bad variable interpolation in UefiPayloadPkg.dsc #6135

matdibu opened this issue Aug 29, 2024 · 2 comments

Comments

@matdibu
Copy link

matdibu commented Aug 29, 2024

OUTPUT_DIRECTORY = Build/UefiPayloadPkg$(BUILD_ARCH)

does that actually evaluate as intended? on my local machine I get this:

$ ls Build/
'UefiPayloadPkg$(BUILD_ARCH)'

which in turn breaks the build

@ProfessorLongBeard
Copy link

OUTPUT_DIRECTORY = Build/UefiPayloadPkg$(BUILD_ARCH)

does that actually evaluate as intended? on my local machine I get this:

$ ls Build/
'UefiPayloadPkg$(BUILD_ARCH)'

which in turn breaks the build

Seems like your local machine is garbage.

@matdibu
Copy link
Author

matdibu commented Aug 30, 2024

:))) I didn't expect that

but seriously now, could it be because of the shell using during the build?

it was from within a nix derivation, so the shell definitely isn't the same as a user-interactive bash session started on ubuntu

that being said, the build worked after I replaced that with Build/UefiPayloadPkgX64, and I successfully flashed and booted on real hardware

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

No branches or pull requests

2 participants