Skip to content

Commit

Permalink
meta-xilinx-standalone: xilinx-standalone: Remove FULL_OPTIMIZATION c…
Browse files Browse the repository at this point in the history
…hanges

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>
  • Loading branch information
mhatle committed Jul 15, 2024
1 parent 1ab3840 commit b770877
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions meta-xilinx-standalone/conf/distro/xilinx-standalone.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b770877

Please sign in to comment.