From 5f371e038fcc072ff4bf005aeede1b94bd28dafe Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 18 Jan 2019 19:10:05 -0500 Subject: [PATCH] debug: move segger configs to subsys/debug We have dependency on this module in code which is part of Zephyr. When this module is split out of the tree we need to be able to build. Move this Kconfig part to be part of zephyr and keep the external code in ext/ with plan to split it out on the future. Signed-off-by: Anas Nashif --- ext/Kconfig | 2 -- ext/debug/Kconfig | 15 --------------- subsys/debug/Kconfig | 4 ++++ .../segger/Kconfig => subsys/debug/Kconfig.segger | 0 4 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 ext/debug/Kconfig rename ext/debug/segger/Kconfig => subsys/debug/Kconfig.segger (100%) diff --git a/ext/Kconfig b/ext/Kconfig index e8bf7ea3d09..a2b4f333902 100644 --- a/ext/Kconfig +++ b/ext/Kconfig @@ -20,6 +20,4 @@ source "ext/lib/ipc/open-amp/Kconfig" source "ext/lib/mgmt/Kconfig" -source "ext/debug/Kconfig" - endmenu diff --git a/ext/debug/Kconfig b/ext/debug/Kconfig deleted file mode 100644 index 050c283ab85..00000000000 --- a/ext/debug/Kconfig +++ /dev/null @@ -1,15 +0,0 @@ -# Kconfig - external debug source code configuration options - -# -# Copyright (c) 2016 Nordic Semiconductor ASA. -# -# SPDX-License-Identifier: Apache-2.0 -# - -# When adding new entries keep the list in alphabetical order - -menu "Debug libraries" - -source "ext/debug/segger/Kconfig" - -endmenu diff --git a/subsys/debug/Kconfig b/subsys/debug/Kconfig index 7b0e1db751b..01da3ef67f8 100644 --- a/subsys/debug/Kconfig +++ b/subsys/debug/Kconfig @@ -256,3 +256,7 @@ config TRACING_CPU_STATS_INTERVAL Time period of displaying information about CPU usage. endmenu + + + +source "subsys/debug/Kconfig.segger" diff --git a/ext/debug/segger/Kconfig b/subsys/debug/Kconfig.segger similarity index 100% rename from ext/debug/segger/Kconfig rename to subsys/debug/Kconfig.segger