diff options
| author | Gregory Williams <gregory.williams@amd.com> | 2023-06-14 08:55:51 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-06-19 09:59:15 -0700 |
| commit | 0623e747bc815cbfbf0398279d2d1a0c86d4556f (patch) | |
| tree | 564ba6ae90c64e13362b9932da9d001053c3832d /meta-xilinx-core | |
| parent | fcadd7d3da7e9e4d02c966d6d992e9d7dba3b9d9 (diff) | |
| download | meta-xilinx-0623e747bc815cbfbf0398279d2d1a0c86d4556f.tar.gz | |
meta-xilinx-core: Enable full O2 optimizations for ai-engine-driver
Remove -fno flags to enable full O2 optimizations for ai-engine-driver
build.
Signed-off-by: Gregory Williams <gregory.williams@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core')
| -rw-r--r-- | meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb index 6a4fd880..47b79c47 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb | |||
| @@ -25,7 +25,7 @@ RPROVIDES:${PN} = "libxaiengine" | |||
| 25 | # The makefile isn't ready for parallel execution at the moment | 25 | # The makefile isn't ready for parallel execution at the moment |
| 26 | PARALLEL_MAKE = "-j 1" | 26 | PARALLEL_MAKE = "-j 1" |
| 27 | 27 | ||
| 28 | CFLAGS += "-Wall -Wextra -fno-thread-jumps -fno-tree-pre" | 28 | CFLAGS += "-Wall -Wextra" |
| 29 | CFLAGS += "${@bb.utils.contains('IOBACKENDS', 'Linux', ' -D__AIELINUX__', '', d)}" | 29 | CFLAGS += "${@bb.utils.contains('IOBACKENDS', 'Linux', ' -D__AIELINUX__', '', d)}" |
| 30 | CFLAGS += "${@bb.utils.contains('IOBACKENDS', 'metal', ' -D__AIEMETAL__', '', d)}" | 30 | CFLAGS += "${@bb.utils.contains('IOBACKENDS', 'metal', ' -D__AIEMETAL__', '', d)}" |
| 31 | EXTRA_OEMAKE = "-C ${AIEDIR}/src -f Makefile.Linux CFLAGS='${CFLAGS}'" | 31 | EXTRA_OEMAKE = "-C ${AIEDIR}/src -f Makefile.Linux CFLAGS='${CFLAGS}'" |
