Disable CONFIG_CC_OPTIMIZE_FOR_SIZE to fix the warning when do_kernel_configcheck:
[NOTE]: 'CONFIG_CC_OPTIMIZE_FOR_SIZE' last val (n) and .config val (y) do not match [INFO]: CONFIG_CC_OPTIMIZE_FOR_SIZE : y ## .config: 210 :configs/v6.1/standard/preempt-rt/arch/arm/arm.cfg (y) configs/v6.1/standard/preempt-rt/ktypes/preempt-rt/preempt-rt.cfg (n) [INFO]: raw config text: config CC_OPTIMIZE_FOR_SIZE bool "Optimize for size (-Os)" depends on <choice> help Choosing this option will pass "-Os" to your compiler resulting in a smaller kernel. Signed-off-by: Xiaolei Wang <xiaolei.w...@windriver.com> --- bsp/nxp-imx7/nxp-imx7.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsp/nxp-imx7/nxp-imx7.cfg b/bsp/nxp-imx7/nxp-imx7.cfg index 37438785..a260e786 100644 --- a/bsp/nxp-imx7/nxp-imx7.cfg +++ b/bsp/nxp-imx7/nxp-imx7.cfg @@ -239,3 +239,5 @@ CONFIG_MAILBOX=y CONFIG_IIO=y CONFIG_IMX7D_ADC=y + +CONFIG_CC_OPTIMIZE_FOR_SIZE=n -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13239): https://lists.yoctoproject.org/g/linux-yocto/message/13239 Mute This Topic: https://lists.yoctoproject.org/mt/102194926/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-