-
Notifications
You must be signed in to change notification settings - Fork 237
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
manifest.md- How sdkconfig files are processed #634
base: public
Are you sure you want to change the base?
Conversation
Hi @jparker324, I believe the text in To break it down a bit:
Individual applications may provide additional SDKCONFIG fragments (they do not need to be a complete SDKCONFIG files) that are specific to builds for that application. This is done by setting the environment variable For clarity, let's imagine an application that provides all three SDKCONFIG fragments and let's refer to those fragments as
The merges happen sequentially in the order listed, with later files overwriting duplicate options from earlier files. Note that debug builds of the app with the extra SDKCONFIG fragments do not use the Does that make sense? Any recommendations for how we could concisely clarify that in - Andy |
Hi @andycarle, I agree with everything you said. Maybe it's how I'm reading step 4? I'll take your last example, an instrumented build of an application that provides all three possible additional Going step by step, after step 3 it would have merged But at step 4, I understood the document as saying the This confusion compounds again with steps 5 and 6, but clarifying step 4 prevents this further confusion. It was the way step 4 ends, different than all the other steps, that led me to think that maybe it was unique on purpose somehow, but it's really not. Step 4 happens after 3. Thinking out loud here- Maybe the more simplifying edit is to remove the ending phrase of each step. Saying what each step "is merged..." and "are merged..." on is largely redundant with the last sentence of the preceding paragraph, which already says they are applied in the indicated sequence. Something like this may be more straightforward...
-Jason |
It looks like the description for step 4 may have been originally a copy and paste of step 2. The way it was worded, it read as if step 4 would somehow follow step 1. This is confusing with the use of "additionally" in the sentence following step 3, and it didn't follow the same pattern of wording for all the other steps saying "... merged on top of the merge performed in step [n-1]."
Reference code
moddable/tools/mcmanifest.js
Line 161 in 1502614