From 89744dc741ceac0f781cb4879feddc459acb9298 Mon Sep 17 00:00:00 2001 From: Ilya Lipnitskiy Date: Fri, 5 Mar 2021 18:28:42 -0800 Subject: [PATCH] kernel: generic: filter out CONFIG_PLUGIN_HOSTCC 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 Cc: Felix Fietkau Signed-off-by: Ilya Lipnitskiy --- 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.2