-
Notifications
You must be signed in to change notification settings - Fork 675
signals: fix dependency issues when signals are all disabled #3333
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
base: master
Are you sure you want to change the base?
Conversation
e1cf0b0 to
0625200
Compare
0625200 to
cf6a657
Compare
cf6a657 to
e3804fa
Compare
af94348 to
0cc5a9a
Compare
66096e1 to
62f6066
Compare
62f6066 to
8610764
Compare
canutils/candump/CMakeLists.txt
Outdated
| # ############################################################################## | ||
|
|
||
| if(CONFIG_CANUTILS_CANDUMP) | ||
| if(CONFIG_CANUTILS_CANDUMP AND CONFIG_ENABLE_ALL_SIGNALS) |
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.
let's add depends on ENABLE_ALL_SIGNALS on Kconfig directly
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.
Done
canutils/candump/Make.defs
Outdated
| ############################################################################/ | ||
|
|
||
| ifneq ($(CONFIG_CANUTILS_CANDUMP),) | ||
| ifneq ($(CONFIG_ENABLE_ALL_SIGNALS),) |
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.
ditto
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.
Done
examples/i2sloop/Make.defs
Outdated
| ############################################################################ | ||
|
|
||
| ifneq ($(CONFIG_EXAMPLES_I2SLOOP),) | ||
| ifneq ($(CONFIG_ENABLE_ALL_SIGNALS),) |
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.
ditto
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.
Done
testing/drivers/nand_sim/Make.defs
Outdated
| ############################################################################ | ||
|
|
||
| ifneq ($(CONFIG_TESTING_NAND_SIM),) | ||
| ifneq ($(CONFIG_ENABLE_ALL_SIGNALS),) |
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.
move to Kconfig
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.
Done
| # ############################################################################## | ||
|
|
||
| if(CONFIG_TESTING_NAND_SIM) | ||
| if(CONFIG_TESTING_NAND_SIM AND CONFIG_ENABLE_ALL_SIGNALS) |
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.
ditto
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.
Done
system/sensortest/Make.defs
Outdated
| ############################################################################ | ||
|
|
||
| ifneq ($(CONFIG_SYSTEM_SENSORTEST),) | ||
| ifneq ($(CONFIG_ENABLE_ALL_SIGNALS),) |
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.
ditto
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.
Done
examples/zerocross/Make.defs
Outdated
| ############################################################################ | ||
|
|
||
| ifneq ($(CONFIG_EXAMPLES_ZEROCROSS),) | ||
| ifneq ($(CONFIG_ENABLE_ALL_SIGNALS),) |
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.
move to Kconfig
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.
Done
examples/zerocross/CMakeLists.txt
Outdated
| # ############################################################################## | ||
|
|
||
| if(CONFIG_EXAMPLES_ZEROCROSS) | ||
| if(CONFIG_EXAMPLES_ZEROCROSS AND CONFIG_ENABLE_ALL_SIGNALS) |
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.
ditto
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.
Done
examples/xedge_demo/Make.defs
Outdated
| ############################################################################ | ||
|
|
||
| ifneq ($(CONFIG_EXAMPLES_XEDGE_DEMO),) | ||
| ifneq ($(CONFIG_ENABLE_ALL_SIGNALS),) |
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.
revert
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.
Done
examples/oneshot/Make.defs
Outdated
| ############################################################################ | ||
|
|
||
| ifneq ($(CONFIG_EXAMPLES_ONESHOT),) | ||
| ifneq ($(CONFIG_ENABLE_ALL_SIGNALS),) |
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.
move to Kconfig
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.
Done
Fix build and runtime issues when signals all disabled. Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
8610764 to
f6bf01a
Compare
Fix build and runtime issues when signals all disabled.
Summary
This PR fixes dependency issues when signals are all disabled
Impact
Fix dependency issues when signals are all disabled, no impact to any existing functions
Testing
ostest passed on rv-virt:smp64
disable all signals
ostest passed log