[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-backports
Subject:    [PATCH v2 10/15] backport: expose BP_MODULES in package mode only
From:       Thomas Pedersen <thomas () adapt-ip ! com>
Date:       2022-05-13 16:05:18
Message-ID: 20220513160523.2944694-11-thomas () adapt-ip ! com
[Download RAW message or body]

Otherwise 'option modules' conflicts with the kernel
namespace.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
---
 backport/Kconfig.package.hacks | 10 ++++++++++
 backport/compat/Kconfig        |  9 ---------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/backport/Kconfig.package.hacks b/backport/Kconfig.package.hacks
index 6a429dd107fd..3c97304525c1 100644
--- a/backport/Kconfig.package.hacks
+++ b/backport/Kconfig.package.hacks
@@ -6,3 +6,13 @@ config NET_CORE
 	def_bool y
 config EXPERT
 	def_bool y
+
+config BP_MODULES
+	modules
+	bool
+	default MODULES
+
+	help
+	This symbol is necessary for the newer kconf tool, it looks
+	for the "option modules" to control the 'm' state.
+
diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig
index 1f690e009214..87df1f731a34 100644
--- a/backport/compat/Kconfig
+++ b/backport/compat/Kconfig
@@ -53,15 +53,6 @@
 # Variations are obviously possible.
 #
 
-config BP_MODULES
-	modules
-	bool
-	default MODULES
-
-	help
-	This symbol is necessary for the newer kconf tool, it looks
-	for the "option modules" to control the 'm' state.
-
 config BPAUTO_BUILD_NLATTR
 	def_bool y
 	depends on KERNEL_5_2
-- 
2.30.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic