[OpenWrt-Devel] [PATCH 1/2] lantiq: sync kernel CONFIG_TARGET

Mathias Kresin dev at kresin.me
Thu Nov 29 18:48:18 EST 2018


29/11/2018 14:25, Florian Eckert:
> Sync target config changes with the following command
> make kernel_menuconfig=target

It works slightly different.

The final kernel config is generated by merging 
target/linux/generic/config-4.14 + target/linux/lantiq/config-4.14 + 
target/linux/lantiq/<subtarget>/config-4.14 .

Symbols common for all subtarget are moved (manually?) to 
target/linux/lantiq/config-4.14.

To really update the file you need to run make kernel_menuconfig 
CONFIG_TARGET=subtarget for each subtarget. Symbols added or removed for 
all subtargets can be dropped from or added to 
target/linux/lantiq/config-4.14.

One more comment inline.

Mathias

> 
> Signed-off-by: Florian Eckert <fe at dev.tdt.de>
> ---
>   target/linux/lantiq/config-4.14 | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/target/linux/lantiq/config-4.14 b/target/linux/lantiq/config-4.14
> index aec0efa408..055a428792 100644
> --- a/target/linux/lantiq/config-4.14
> +++ b/target/linux/lantiq/config-4.14
> @@ -38,8 +38,6 @@ CONFIG_CPU_R4K_FPU=y
>   CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
>   CONFIG_CPU_SUPPORTS_HIGHMEM=y
>   CONFIG_CPU_SUPPORTS_MSA=y
> -CONFIG_CRYPTO_HASH=y
> -CONFIG_CRYPTO_HASH2=y
>   CONFIG_CRYPTO_RNG2=y
>   CONFIG_CRYPTO_WORKQUEUE=y
>   CONFIG_CSRC_R4K=y
> @@ -75,6 +73,7 @@ CONFIG_HAS_IOMEM=y
>   CONFIG_HAS_IOPORT_MAP=y
>   # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
>   # CONFIG_HAVE_ARCH_BITREVERSE is not set
> +CONFIG_HAVE_ARCH_COMPILER_H=y
>   CONFIG_HAVE_ARCH_JUMP_LABEL=y
>   CONFIG_HAVE_ARCH_KGDB=y
>   CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
> @@ -133,6 +132,7 @@ CONFIG_MDIO_BUS=y
>   CONFIG_MDIO_DEVICE=y
>   CONFIG_MFD_CORE=y
>   CONFIG_MFD_SYSCON=y
> +CONFIG_MIGRATION=y
>   CONFIG_MIPS=y
>   CONFIG_MIPS_ASID_BITS=8
>   CONFIG_MIPS_ASID_SHIFT=0
> @@ -196,7 +196,6 @@ CONFIG_RTL8366RB_PHY=y
>   CONFIG_RTL8366_SMI=y
>   # CONFIG_SCHED_INFO is not set
>   # CONFIG_SCSI_DMA is not set
> -# CONFIG_SENSORS_LTQ_CPUTEMP is not set

I'm quite sure that removing this config symbol will cause a build error 
for all subtargets != xrx200, if you build with CONFIG_ALL_KMODS=y as 
the buildbot does.

>   # CONFIG_SERIAL_8250 is not set
>   CONFIG_SERIAL_LANTIQ=y
>   # CONFIG_SOC_AMAZON_SE is not set
> 


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list