diff options
author | Anas Nashif <anas.nashif@intel.com> | 2017-01-07 08:43:32 -0500 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2017-01-09 19:42:13 +0000 |
commit | 70a2e138b7f46bc648f5ab228c23053f3dcb5b44 (patch) | |
tree | 83301ef6783b66e685f9a3db21c6e8b7c46c1250 /samples/legacy | |
parent | 1e60eff9d7d0551b7586ff841b6f7c8e34d4324e (diff) |
kernel: add LEGACY_KERNEL option
Add global option for legacy configurations and enable by default for
backward compatibility. Disable option on tests and keep it on legacy
samples and tests.
Jira: ZEP-964
Change-Id: I0831e2aa74d438b1ac74eb762186cb220a504beb
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'samples/legacy')
13 files changed, 12 insertions, 13 deletions
diff --git a/samples/legacy/cpp_synchronization/microkernel/prj.conf b/samples/legacy/cpp_synchronization/microkernel/prj.conf index 1d7f3028f..394247289 100644 --- a/samples/legacy/cpp_synchronization/microkernel/prj.conf +++ b/samples/legacy/cpp_synchronization/microkernel/prj.conf @@ -1,3 +1,3 @@ CONFIG_STDOUT_CONSOLE=y CONFIG_CPLUSPLUS=y -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/cpp_synchronization/nanokernel/prj.conf b/samples/legacy/cpp_synchronization/nanokernel/prj.conf index 1d7f3028f..394247289 100644 --- a/samples/legacy/cpp_synchronization/nanokernel/prj.conf +++ b/samples/legacy/cpp_synchronization/nanokernel/prj.conf @@ -1,3 +1,3 @@ CONFIG_STDOUT_CONSOLE=y CONFIG_CPLUSPLUS=y -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/kernel_event_logger/microkernel/prj.conf b/samples/legacy/kernel_event_logger/microkernel/prj.conf index 2fc288e3e..4145a10f7 100644 --- a/samples/legacy/kernel_event_logger/microkernel/prj.conf +++ b/samples/legacy/kernel_event_logger/microkernel/prj.conf @@ -8,4 +8,4 @@ CONFIG_KERNEL_EVENT_LOGGER_CONTEXT_SWITCH=y CONFIG_KERNEL_EVENT_LOGGER_INTERRUPT=y CONFIG_KERNEL_EVENT_LOGGER_SLEEP=y CONFIG_IDLE_STACK_SIZE=512 -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/kernel_event_logger/microkernel/prj_unified.conf b/samples/legacy/kernel_event_logger/microkernel/prj_unified.conf index 2fc288e3e..4145a10f7 100644 --- a/samples/legacy/kernel_event_logger/microkernel/prj_unified.conf +++ b/samples/legacy/kernel_event_logger/microkernel/prj_unified.conf @@ -8,4 +8,4 @@ CONFIG_KERNEL_EVENT_LOGGER_CONTEXT_SWITCH=y CONFIG_KERNEL_EVENT_LOGGER_INTERRUPT=y CONFIG_KERNEL_EVENT_LOGGER_SLEEP=y CONFIG_IDLE_STACK_SIZE=512 -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/kernel_event_logger/nanokernel/prj.conf b/samples/legacy/kernel_event_logger/nanokernel/prj.conf index 2fc288e3e..4145a10f7 100644 --- a/samples/legacy/kernel_event_logger/nanokernel/prj.conf +++ b/samples/legacy/kernel_event_logger/nanokernel/prj.conf @@ -8,4 +8,4 @@ CONFIG_KERNEL_EVENT_LOGGER_CONTEXT_SWITCH=y CONFIG_KERNEL_EVENT_LOGGER_INTERRUPT=y CONFIG_KERNEL_EVENT_LOGGER_SLEEP=y CONFIG_IDLE_STACK_SIZE=512 -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/philosophers/microkernel/prj.conf b/samples/legacy/philosophers/microkernel/prj.conf index 270f8f18f..208c4101b 100644 --- a/samples/legacy/philosophers/microkernel/prj.conf +++ b/samples/legacy/philosophers/microkernel/prj.conf @@ -1 +1 @@ -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/philosophers/nanokernel/prj.conf b/samples/legacy/philosophers/nanokernel/prj.conf index 270f8f18f..208c4101b 100644 --- a/samples/legacy/philosophers/nanokernel/prj.conf +++ b/samples/legacy/philosophers/nanokernel/prj.conf @@ -1 +1 @@ -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/synchronization/microkernel/prj.conf b/samples/legacy/synchronization/microkernel/prj.conf index 100fd6b98..8b042db54 100644 --- a/samples/legacy/synchronization/microkernel/prj.conf +++ b/samples/legacy/synchronization/microkernel/prj.conf @@ -1,2 +1 @@ CONFIG_STDOUT_CONSOLE=y -CONFIG_MDEF=y diff --git a/samples/legacy/synchronization/nanokernel/prj.conf b/samples/legacy/synchronization/nanokernel/prj.conf index d4df8c09f..fed46d358 100644 --- a/samples/legacy/synchronization/nanokernel/prj.conf +++ b/samples/legacy/synchronization/nanokernel/prj.conf @@ -1,2 +1,2 @@ # nothing here -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/task_profiler/microkernel/prj.conf b/samples/legacy/task_profiler/microkernel/prj.conf index dd163130b..e3065f7d2 100644 --- a/samples/legacy/task_profiler/microkernel/prj.conf +++ b/samples/legacy/task_profiler/microkernel/prj.conf @@ -13,4 +13,4 @@ CONFIG_KERNEL_EVENT_LOGGER_INTERRUPT=y CONFIG_SYS_POWER_MANAGEMENT=y CONFIG_TICKLESS_IDLE=y CONFIG_KERNEL_EVENT_LOGGER_SLEEP=y -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/task_profiler/microkernel/prj_quark_se_c1000_devboard.conf b/samples/legacy/task_profiler/microkernel/prj_quark_se_c1000_devboard.conf index 1ec2d1455..fa86f248e 100644 --- a/samples/legacy/task_profiler/microkernel/prj_quark_se_c1000_devboard.conf +++ b/samples/legacy/task_profiler/microkernel/prj_quark_se_c1000_devboard.conf @@ -16,4 +16,4 @@ CONFIG_KERNEL_EVENT_LOGGER_SLEEP=y CONFIG_UART_QMSI_1_BAUDRATE=2000000 CONFIG_KERNEL_EVENT_LOGGER_CUSTOM_TIMESTAMP=y CONFIG_RTC=y -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/task_profiler/nanokernel/prj.conf b/samples/legacy/task_profiler/nanokernel/prj.conf index 65ae0aaf0..68819cdfc 100644 --- a/samples/legacy/task_profiler/nanokernel/prj.conf +++ b/samples/legacy/task_profiler/nanokernel/prj.conf @@ -8,4 +8,4 @@ CONFIG_NANO_TIMEOUTS=y CONFIG_KERNEL_EVENT_LOGGER_BUFFER_SIZE=500 CONFIG_KERNEL_EVENT_LOGGER_CONTEXT_SWITCH=y CONFIG_KERNEL_EVENT_LOGGER_INTERRUPT=y -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y diff --git a/samples/legacy/task_profiler/nanokernel/prj_quark_se_c1000_devboard.conf b/samples/legacy/task_profiler/nanokernel/prj_quark_se_c1000_devboard.conf index 4473c47b1..92c1809d4 100644 --- a/samples/legacy/task_profiler/nanokernel/prj_quark_se_c1000_devboard.conf +++ b/samples/legacy/task_profiler/nanokernel/prj_quark_se_c1000_devboard.conf @@ -11,4 +11,4 @@ CONFIG_KERNEL_EVENT_LOGGER_INTERRUPT=y CONFIG_UART_QMSI_1_BAUDRATE=2000000 CONFIG_KERNEL_EVENT_LOGGER_CUSTOM_TIMESTAMP=y CONFIG_RTC=y -CONFIG_MDEF=y +CONFIG_LEGACY_KERNEL=y |