There is work under way for better debugging facilities in sandbox, including libfuzzer and code coverage support. Let's provide a home for the new config options in the form of an architecture specific Kconfig.debug file like Linux already has. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- arch/arm/Kconfig.debug | 2 ++ arch/kvx/Kconfig.debug | 2 ++ arch/mips/Kconfig.debug | 2 ++ arch/openrisc/Kconfig.debug | 2 ++ arch/powerpc/Kconfig.debug | 2 ++ arch/riscv/Kconfig.debug | 2 ++ arch/sandbox/Kconfig.debug | 2 ++ arch/x86/Kconfig.debug | 2 ++ common/Kconfig.debug | 6 ++++++ 9 files changed, 22 insertions(+) create mode 100644 arch/arm/Kconfig.debug create mode 100644 arch/kvx/Kconfig.debug create mode 100644 arch/mips/Kconfig.debug create mode 100644 arch/openrisc/Kconfig.debug create mode 100644 arch/powerpc/Kconfig.debug create mode 100644 arch/riscv/Kconfig.debug create mode 100644 arch/sandbox/Kconfig.debug create mode 100644 arch/x86/Kconfig.debug diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug new file mode 100644 index 000000000000..295942fe3fd5 --- /dev/null +++ b/arch/arm/Kconfig.debug @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +# dummy file, do not delete diff --git a/arch/kvx/Kconfig.debug b/arch/kvx/Kconfig.debug new file mode 100644 index 000000000000..295942fe3fd5 --- /dev/null +++ b/arch/kvx/Kconfig.debug @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +# dummy file, do not delete diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug new file mode 100644 index 000000000000..295942fe3fd5 --- /dev/null +++ b/arch/mips/Kconfig.debug @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +# dummy file, do not delete diff --git a/arch/openrisc/Kconfig.debug b/arch/openrisc/Kconfig.debug new file mode 100644 index 000000000000..295942fe3fd5 --- /dev/null +++ b/arch/openrisc/Kconfig.debug @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +# dummy file, do not delete diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug new file mode 100644 index 000000000000..295942fe3fd5 --- /dev/null +++ b/arch/powerpc/Kconfig.debug @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +# dummy file, do not delete diff --git a/arch/riscv/Kconfig.debug b/arch/riscv/Kconfig.debug new file mode 100644 index 000000000000..295942fe3fd5 --- /dev/null +++ b/arch/riscv/Kconfig.debug @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +# dummy file, do not delete diff --git a/arch/sandbox/Kconfig.debug b/arch/sandbox/Kconfig.debug new file mode 100644 index 000000000000..295942fe3fd5 --- /dev/null +++ b/arch/sandbox/Kconfig.debug @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +# dummy file, do not delete diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug new file mode 100644 index 000000000000..295942fe3fd5 --- /dev/null +++ b/arch/x86/Kconfig.debug @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +# dummy file, do not delete diff --git a/common/Kconfig.debug b/common/Kconfig.debug index ea6864ac4d91..c4d1313ef866 100644 --- a/common/Kconfig.debug +++ b/common/Kconfig.debug @@ -161,4 +161,10 @@ config WERROR If in doubt, say Y. +menu "$(SRCARCH) Debugging" + +source "arch/$(SRCARCH)/Kconfig.debug" + +endmenu + endmenu -- 2.39.5