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

Feature/py platforms #2

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Feature/py platforms #2

wants to merge 7 commits into from

Conversation

out0xb2
Copy link
Owner

@out0xb2 out0xb2 commented Nov 25, 2019

No description provided.

##
def do_post_build(self, thebuilder):

BiosInfoGuid = thebuilder.env.GetValue("BIOS_INFO_GUID")
Copy link
Owner Author

@out0xb2 out0xb2 Nov 26, 2019

Choose a reason for hiding this comment

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

Need to document the environment, filenames, and other API contracts. As we use them, we'll need to update to make more generic.

   The plug-in pre-build will build BaseTools / FitGen.exe
   The plug-in post-build will execute FitGen.exe if needed
PlatformBuild cleanup
Works/tested
Adding draft README
@nate-desimone
Copy link

Hi @out0xb2,

I agree with most of your document, specifically that multi repos are definitely the way to go. However, I disagree with the submodule approach. Submodules do a good job expressing upstream dependencies, and are useful for one-way code consumption scenarios.

For example, openssl. We depend on it in Edk2 for providing cryptographic algorithms, but there is very little cross-project interaction between TianoCore and openssl. Pretty much we just use what they provide as is. Its an ideal scenario for the use of a submodule.

For edk2 and edk2-platforms however, that is definitely not the case. They are both part of one project, TianoCore. The people working on edk2 and edk2-platforms are the same people. We make changes to edk2-platforms and edk2 in parallel. There is a ton of two-way interaction between the code in those two repos. Having those repos locked to specific commit shas is a liability, not a feature. Most TianoCore developers work like I do, master branch on all repos all the time. The case of using specific shas should be the exception... not the rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants