From 3958e8ed2cbbc58cbb404785c39d3d9068e65bdf Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 16 Jul 2024 08:44:45 -0600 Subject: meta-xilinx-standalone: xilinx-standalone: Remove FULL_OPTIMIZATION changes Yocto Project has changed the optimization settings in poky commit 1cf0974ad242f7eb2815a4ef0e3e5b6507ca56ea Since the settings match the Yocto Project defaults, remove them. If we need to default for size in the future, we can re-implement this using the current approach. Signed-off-by: Mark Hatle (cherry picked from commit b7708778180849caa972a6ccebc01aa60d97ddfb) Signed-off-by: Mark Hatle --- meta-xilinx-standalone/conf/distro/xilinx-standalone.conf | 6 ------ 1 file changed, 6 deletions(-) diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf index dfc8fa08..8e1d6edf 100644 --- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf +++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf @@ -2,12 +2,6 @@ require conf/distro/xilinx-standalone.inc DISTRO_NAME:append = " (lto)" -# By default we want to optimize for size. -FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" - -# Workaround for microblaze -Os bug -FULL_OPTIMIZATION:microblaze = "-O2 -pipe ${DEBUG_FLAGS}" - # We also need to use Link Time Optimization for many items, make this the # default. ESW_CFLAGS += " -Os -flto -ffat-lto-objects" -- cgit v1.2.3-54-g00ecf