uefi-firmware: Incremental rebuild optimizations#491
Open
elliotberman wants to merge 5 commits into
Open
Conversation
This allows us to pass additional arguments to mkDerivation when calling mkStuartDrv.
This allows us to pass additional arguments to mkDerivation when calling mkJetsonUefi.
If the base Jetson UEFI rebuilds due to uniqueHash change, we also rebuild jetsonStandaloneMMOptee. This is unnecessary because the hash is not used anywhere. Break the not-needed dependency and consume jetsonStandaloneMMOptee directly.
25b2a30 to
24091ec
Compare
Introduce a tool to patch a string in a UEFI Firmware Volume. The Python script recursively explores all firmware volume structures and does a find/replace on a given string argument. This tool will be used to patch the UEFI version string.
…patchfv When anything in the BUP changes (e.g. devicetree), it requires rebuilding all of uefi-firmware which takes several minutes in order to use the new BUP unique hash. To help increase the develop-test cycle, we can build EDK2 with a well-known version string and then do a find/replace to the unique version string using patchfv.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
When anything in the BUP changes (e.g. devicetree), it requires rebuilding all of uefi-firmware which takes several minutes in order to use the new BUP unique hash. To help increase the develop-test cycle, we can build EDK2 with a well-known version string and then do a find/replace to the unique version string using patchfv.
TODO:
Testing