diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-07-15 13:52:06 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 10:43:44 -0600 |
commit | 6e3a214d268c7d75a42a9a329b5621fb5a49a89a (patch) | |
tree | 2c6be8d2b664e96e1c72ebfa8c02bbee5cfb3040 | |
parent | db278db357feb96231d708247f7b2252b4391347 (diff) | |
download | meta-xilinx-6e3a214d268c7d75a42a9a329b5621fb5a49a89a.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>
-rw-r--r-- | meta-xilinx-standalone/conf/distro/xilinx-standalone.conf | 6 |
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 | ||
3 | DISTRO_NAME:append = " (lto)" | 3 | DISTRO_NAME:append = " (lto)" |
4 | 4 | ||
5 | # By default we want to optimize for size. | ||
6 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" | ||
7 | |||
8 | # Workaround for microblaze -Os bug | ||
9 | FULL_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. |
13 | ESW_CFLAGS += " -Os -flto -ffat-lto-objects" | 7 | ESW_CFLAGS += " -Os -flto -ffat-lto-objects" |