summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-07-16 08:44:45 -0600
committerMark Hatle <mark.hatle@amd.com>2024-07-17 10:50:39 -0500
commit3958e8ed2cbbc58cbb404785c39d3d9068e65bdf (patch)
tree665b6c63dcfc3baf41d6d0c96f961914c7184c7a
parentf1b7f0a61783b8519d5c608cb4222ade8290aa2b (diff)
downloadmeta-xilinx-3958e8ed2cbbc58cbb404785c39d3d9068e65bdf.tar.gz
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 <mark.hatle@amd.com> (cherry picked from commit b7708778180849caa972a6ccebc01aa60d97ddfb) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-standalone/conf/distro/xilinx-standalone.conf6
1 files changed, 0 insertions, 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
2 2
3DISTRO_NAME:append = " (lto)" 3DISTRO_NAME:append = " (lto)"
4 4
5# By default we want to optimize for size.
6FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}"
7
8# Workaround for microblaze -Os bug
9FULL_OPTIMIZATION:microblaze = "-O2 -pipe ${DEBUG_FLAGS}"
10
11# We also need to use Link Time Optimization for many items, make this the 5# We also need to use Link Time Optimization for many items, make this the
12# default. 6# default.
13ESW_CFLAGS += " -Os -flto -ffat-lto-objects" 7ESW_CFLAGS += " -Os -flto -ffat-lto-objects"