From: Quanyang Wang <quanyang.w...@windriver.com>

Disable CONFIG_CC_OPTIMIZE_FOR_SIZE to fix the warning when 
do_kernel_configcheck:

WARNING: linux-yocto-rt-6.1.27+gitAUTOINC+9045c12fb0_e318b47db6-r0 
do_kernel_configcheck: [kernel config]: specified values did not make it into 
the kernel's final configuration:

    [NOTE]: 'CONFIG_CC_OPTIMIZE_FOR_SIZE' last val (n) and .config val (y) do 
not match
    [INFO]: CONFIG_CC_OPTIMIZE_FOR_SIZE : y ## .config: 205 
: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:

Signed-off-by: Quanyang Wang <quanyang.w...@windriver.com>
---
Hi Bruce,
Would you please help merge this patch to the branch:
        yocto-6.1
Thanks,
Quanyang
---
 bsp/xilinx-zynq/xilinx-zynq.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bsp/xilinx-zynq/xilinx-zynq.cfg b/bsp/xilinx-zynq/xilinx-zynq.cfg
index a05a3cbf00..7af2562fc2 100644
--- a/bsp/xilinx-zynq/xilinx-zynq.cfg
+++ b/bsp/xilinx-zynq/xilinx-zynq.cfg
@@ -3,6 +3,7 @@ CONFIG_SMP=y
 CONFIG_NR_CPUS=4
 CONFIG_HOTPLUG_CPU=y
 CONFIG_VMSPLIT_2G=y
+CONFIG_CC_OPTIMIZE_FOR_SIZE=n
 
 #
 # Xilinx Specific Options
-- 
2.36.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12550): 
https://lists.yoctoproject.org/g/linux-yocto/message/12550
Mute This Topic: https://lists.yoctoproject.org/mt/98902451/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to