diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2024-09-06 11:26:13 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-09-13 07:13:30 -0600 |
| commit | b0e147680fd5d4e813b602e955e2987d47921a38 (patch) | |
| tree | c6a75ccdfc2eaac46d0cdbe4e6cc0eeaf6e8a2ed /meta-xilinx-standalone | |
| parent | 9a241f07f1630dac1b448765ab6d2229a75eed5b (diff) | |
| download | meta-xilinx-b0e147680fd5d4e813b602e955e2987d47921a38.tar.gz | |
meta-xilinx-standalone: gcc: Disable tm-clone-registry by default
On all AMD FPGA (Xilinx) baremetal systems, disable tm-clone-registry by
default. This was requested to decrease binary size as baremetal systems
were not taking advantage of this setting anyway.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone')
3 files changed, 3 insertions, 3 deletions
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend index d9c4ad18..282d22c8 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | |||
| @@ -9,6 +9,7 @@ EXTRA_OECONF:append:class-target:xilinx-standalone = " \ | |||
| 9 | --enable-plugins \ | 9 | --enable-plugins \ |
| 10 | --with-gnu-as \ | 10 | --with-gnu-as \ |
| 11 | --disable-libitm \ | 11 | --disable-libitm \ |
| 12 | --disable-tm-clone-registry \ | ||
| 12 | " | 13 | " |
| 13 | 14 | ||
| 14 | EXTRA_OECONF:append:aarch64:class-target:xilinx-standalone = " \ | 15 | EXTRA_OECONF:append:aarch64:class-target:xilinx-standalone = " \ |
| @@ -28,7 +29,6 @@ EXTRA_OECONF:append:armv8r:class-target:xilinx-standalone = " \ | |||
| 28 | 29 | ||
| 29 | EXTRA_OECONF:append:microblaze:class-target:xilinx-standalone = " \ | 30 | EXTRA_OECONF:append:microblaze:class-target:xilinx-standalone = " \ |
| 30 | --without-long-double-128 \ | 31 | --without-long-double-128 \ |
| 31 | --disable-tm-clone-registry \ | ||
| 32 | " | 32 | " |
| 33 | 33 | ||
| 34 | # Changes local to gcc-runtime... | 34 | # Changes local to gcc-runtime... |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc index 956bb419..173d47f7 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc | |||
| @@ -5,6 +5,7 @@ EXTRA_OECONF:append:xilinx-standalone = " \ | |||
| 5 | --enable-plugins \ | 5 | --enable-plugins \ |
| 6 | --with-gnu-as \ | 6 | --with-gnu-as \ |
| 7 | --disable-libitm \ | 7 | --disable-libitm \ |
| 8 | --disable-tm-clone-registry \ | ||
| 8 | " | 9 | " |
| 9 | 10 | ||
| 10 | EXTRA_OECONF:append:aarch64:xilinx-standalone = " \ | 11 | EXTRA_OECONF:append:aarch64:xilinx-standalone = " \ |
| @@ -24,5 +25,4 @@ EXTRA_OECONF:append:armv8r:xilinx-standalone = " \ | |||
| 24 | 25 | ||
| 25 | EXTRA_OECONF:append:microblaze:xilinx-standalone = " \ | 26 | EXTRA_OECONF:append:microblaze:xilinx-standalone = " \ |
| 26 | --without-long-double-128 \ | 27 | --without-long-double-128 \ |
| 27 | --disable-tm-clone-registry \ | ||
| 28 | " | 28 | " |
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend index be68197e..fe295243 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend | |||
| @@ -2,7 +2,7 @@ require gcc-configure-xilinx-standalone.inc | |||
| 2 | 2 | ||
| 3 | COMPATIBLE_HOST:xilinx-standalone = "${HOST_SYS}" | 3 | COMPATIBLE_HOST:xilinx-standalone = "${HOST_SYS}" |
| 4 | 4 | ||
| 5 | EXTRA_OECONF:append:xilinx-standalone:microblaze:class-target = " \ | 5 | EXTRA_OECONF:append:xilinx-standalone:class-target = " \ |
| 6 | --disable-tm-clone-registry \ | 6 | --disable-tm-clone-registry \ |
| 7 | " | 7 | " |
| 8 | 8 | ||
