[PATCH v2 1/2] kernel: generic: filter out CONFIG_PLUGIN_HOSTCC

Ilya Lipnitskiy ilya.lipnitskiy at gmail.com
Sat Mar 6 02:28:42 GMT 2021


It appears to be an automatic Kconfig symbol that varies depending on
the host platform. There is no need to define it in target configs, so
filter it out.

Also sort config-filter entries alphabetically.

Cc: Adrian Schmutzler <mail at adrianschmutzler.de>
Cc: Felix Fietkau <nbd at nbd.name>
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy at gmail.com>
---
 target/linux/generic/config-5.10   | 1 -
 target/linux/generic/config-5.4    | 1 -
 target/linux/generic/config-filter | 5 +++--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10
index 040d62a51d..cb99441dc4 100644
--- a/target/linux/generic/config-5.10
+++ b/target/linux/generic/config-5.10
@@ -4398,7 +4398,6 @@ CONFIG_PINMUX=y
 # CONFIG_PLATFORM_MHU is not set
 # CONFIG_PLAT_SPEAR is not set
 # CONFIG_PLIP is not set
-CONFIG_PLUGIN_HOSTCC=""
 # CONFIG_PLX_DMA is not set
 # CONFIG_PLX_HERMES is not set
 # CONFIG_PM is not set
diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4
index d14000e006..68fe001609 100644
--- a/target/linux/generic/config-5.4
+++ b/target/linux/generic/config-5.4
@@ -4063,7 +4063,6 @@ CONFIG_PINMUX=y
 # CONFIG_PLATFORM_MHU is not set
 # CONFIG_PLAT_SPEAR is not set
 # CONFIG_PLIP is not set
-CONFIG_PLUGIN_HOSTCC=""
 # CONFIG_PLX_HERMES is not set
 # CONFIG_PM is not set
 # CONFIG_PMBUS is not set
diff --git a/target/linux/generic/config-filter b/target/linux/generic/config-filter
index 7d634b56cf..719487be5f 100644
--- a/target/linux/generic/config-filter
+++ b/target/linux/generic/config-filter
@@ -3,9 +3,10 @@
 # CONFIG_ARCH_(ENABLE|HAS|HAVE|INLINE|SUPPORTS|USE|WANT|STACKWALK)_.* is not set
 # CONFIG_AS_.* is not set
 # CONFIG_CC_(CAN|HAS|IS|VERSION)_.* is not set
-# CONFIG_LD_.* is not set
 # CONFIG_GCC_VERSION is not set
-# CONFIG_INLINE_.* is not set
 # CONFIG_HAVE_(?!(ARCH_TIMER|TCM|SMP)).* is not set
+# CONFIG_INLINE_.* is not set
+# CONFIG_LD_.* is not set
+CONFIG_PLUGIN_HOSTCC=".*"
 # CONFIG_SET_FS is not set
 # CONFIG_TASKS_.* is not set
-- 
2.30.1




More information about the openwrt-devel mailing list