forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: kernel/mp: move CONFIG_KERNEL_COHERENCE to Kconfig
This moves CONFIG_KERNEL_COHERENCE from prj.conf to Kconfig. This gets rid of the cmake warning where CONFIG_KERNEL_COHERENCE is assigned the value 'y' but gets the value ''. This is simply done to avoid confusion when running the test manually. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
- Loading branch information
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Copyright (c) 2023 Intel Corporation | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Must have this on where available, otherwise the linker will place | ||
# the shared variables in cached/incoherent memory. | ||
config KERNEL_COHERENCE | ||
bool | ||
default y if ARCH_HAS_COHERENCE | ||
|
||
source "Kconfig.zephyr" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
CONFIG_ZTEST=y | ||
CONFIG_ZTEST_NEW_API=y | ||
CONFIG_SMP=n | ||
|
||
# Must have this on where available, otherwise the linker will place | ||
# the shared variables in cached/incoherent memory. | ||
CONFIG_KERNEL_COHERENCE=y |