[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220221061954.4822-1-tangmeng@uniontech.com>
Date: Mon, 21 Feb 2022 14:19:54 +0800
From: tangmeng <tangmeng@...ontech.com>
To: jason.wessel@...driver.com, daniel.thompson@...aro.org,
dianders@...omium.org
Cc: kgdb-bugreport@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
tangmeng <tangmeng@...ontech.com>
Subject: [PATCH] kernel/debug: remove unnecessary CONFIG options
In kernel/Makefile has:
obj-$(CONFIG_KGDB) += debug/
so kernel/debug/Makefile don't need this 'obj-$(CONFIG_KGDB) +=',
delete it from kernel/debug/Makefile.
Signed-off-by: tangmeng <tangmeng@...ontech.com>
---
kernel/debug/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/debug/Makefile b/kernel/debug/Makefile
index 332ee6c6ec2c..9c49ff7c75f4 100644
--- a/kernel/debug/Makefile
+++ b/kernel/debug/Makefile
@@ -3,5 +3,5 @@
# Makefile for the linux kernel debugger
#
-obj-$(CONFIG_KGDB) += debug_core.o gdbstub.o
+obj-y += debug_core.o gdbstub.o
obj-$(CONFIG_KGDB_KDB) += kdb/
--
2.20.1
Powered by blists - more mailing lists