-
Notifications
You must be signed in to change notification settings - Fork 350
zephyr: stop using CONFIG_SOF to identify Zephyr build (w/ Zephyr Nov/20 update) #10335
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,10 @@ | ||
| if SOF | ||
| config SOF_FULL_ZEPHYR_APPLICATION | ||
| bool "Build full SOF Zephyr application" | ||
| default y | ||
| help | ||
| Top-level build option to enable full build of the SOF application | ||
| on top of Zephyr. This should be set to no only for unit test and | ||
| such special build targets. | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should you retain the or better:
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ujfalusi I left this out on purposew. There are some Kconfigs that are useful to be availlable for SOF ztest type of uses and with PR, these can now be left defined (but set to "n" in the test configs if not needed). It seems CI is all good with this as well, so I'd say the less ifdefs the better. |
||
| config SOF_STAGING | ||
| bool "Enable SOF staging features and modules" | ||
|
|
@@ -203,5 +209,3 @@ config STACK_SIZE_IPC_TX | |
| default 2048 | ||
| help | ||
| IPC sender work-queue thread stack size. Keep a power of 2. | ||
|
|
||
| endif | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this hunk can be dropped, and the commit title should be updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lyakh It's just moved to the last patch. I have to split this into multiple patches not to break bisect. If I remove CONFIG_SOF in a different commit than the zepyr west.yaml, I break bisect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kv2019i I understand why you keep
CONFIG_SOF=ybut I don't think swapping the lines in the file is needed? ;-) So you could just drop this hunk and leave the file unchanged - first lineCONFIG_SOF=y, second lineCONFIG_BUILD_OUTPUT_BIN=n