summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx-standalone: gcc: Disable tm-clone-registry by defaultMark Hatle2024-09-131-1/+1
| | | | | | | | 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>
* meta-xilinx-standalone: adjust bbappends for YP best practicesMark Hatle2024-05-281-4/+4
| | | | | | | Ensure that each bbappend only applies when XILINX_WITH_ESW or a related DISTRO is enabled. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: gcc-xilinx-standalone: Microblaze disable ↵Mark Hatle2024-04-221-0/+1
| | | | | | | | | | | | transactional memory On microblaze, add "--disable-tm-clone-registry" due to the image size increasing Disable TM clone registry in libgcc. It is enabled in libgcc by default. This option helps to reduce code size for embedded targets which do not use transactional memory. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* gcc: Remove multilib standalones configsMark Hatle2023-02-241-9/+0
| | | | | | | Standalone multilibs are only needed when building a PetaLinux specific toolchain. So remove this from the general bbappends. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* gcc standalone: Add workaround for microblaze -Os bugMark Hatle2022-02-121-1/+0
| | | | | | | Remove -enable-target-optspace, which forces -Os when building various internal libraries. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Remove cortexrm tune, as Yocto Project now has cortex-r tunesMark Hatle2022-01-141-4/+10
| | | | | | | armrm override is now replaced by armv7r and armv8r overrides. Adjust recipes to match the new usage. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: various fixes for override syntax changesMark Hatle2021-10-251-5/+5
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Convert to new override syntaxSai Hari Chandana Kalluri2021-09-281-6/+6
| | | | | | | | | | This is the result of automated script (0.9.0) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* meta-xilinx-standalone gcc: Fix microblaze crtend.oMark Hatle2020-05-141-5/+0
| | | | | | | | | | | | | | Issue: CR-1065455 Microblaze does not support initfini_array in a baremetal configuration. This has previously been disabled in binutils, but it was missed in GCC and related libraries. This patch slightly restructures the baremetal configurations to move the common configuration elements into a single configure set. This matches the behavior from the Yocto Project gcc-configure-common.inc file. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Fix arm cortex r/m profilesMark Hatle2020-02-051-10/+4
| | | | | | | | | | | As part of the merge of the code bases, changes were introduced that changed the way the cortexr5 was defined. To sync this between the baremetal compilation and the baremetal toolchain compilation we create a new armrm tune file, define a new tune feature of 'armrm', define 'armrm' as a new machine override based on the feature 'armrm', and move the cortexr5 tuning to a common file. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Enable multilib baremetal toolchainsMark Hatle2020-01-311-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Distro Changes: When building a multilib, we need to disable configsite cache. Otherwise the system will fail to generate the SDK as there are no configsite entries due to newlib based multilibs. Recipe Changes: gcc - globally disable multilib configuration - Disable Linux specific configurations (EXTRACONFFUNCS) gcc-cross-canadian - enable multilib on a recipe specific basis libgcc - add a noop override to do_multilib_install to avoid Linux specific multilib processing newlib - arm/v6+m/nofp and arm/v8-m.base/nofp do not have newlib trap implementations. libgloss contains these, workaround by disabling builtin trap syscall handler. - misc workarounds for multilib installs libgloss - Allow MLPREFIX for newlib dependencies meta-toolchain - adjust to install only the items we want/need packagegroup-newlib-standalone-sdk-target - new pkggroup for the custom baremetal SDK to select the right set of packages Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* cortexr5: Change overrides to reflect machine name changes from cortexr5 to ↵Alejandro Enedino Hernandez Samaniego2020-01-301-2/+8
| | | | | | zynqmp and versal variants Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: Restructure layer properly, gcc and binutils belong ↵Alejandro Enedino Hernandez Samaniego2020-01-301-0/+38
on recipes-devtools Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>