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

Adrian Schmutzler mail at adrianschmutzler.de
Sat Mar 6 10:10:08 GMT 2021


Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Ilya Lipnitskiy
> Sent: Samstag, 6. März 2021 03:29
> To: openwrt-devel at lists.openwrt.org
> Cc: Ilya Lipnitskiy <ilya.lipnitskiy at gmail.com>; Adrian Schmutzler
> <mail at adrianschmutzler.de>; Felix Fietkau <nbd at nbd.name>
> Subject: [PATCH v2 1/2] 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 <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|STACK
> WALK)_.* 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

Why is this adding additional symbols that are not covered by commit title/message?

Best

Adrian

> +CONFIG_PLUGIN_HOSTCC=".*"
>  # CONFIG_SET_FS is not set
>  # CONFIG_TASKS_.* is not set
> --
> 2.30.1
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210306/a271a480/attachment.sig>


More information about the openwrt-devel mailing list