diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2020-02-05 07:31:42 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-02-05 07:31:47 -0800 |
| commit | 31d30af45d9ff86e557139a1123238524ddacf33 (patch) | |
| tree | 034bcb834d101e0589865dcf185d97ca7289b675 /meta-xilinx-standalone/recipes-devtools | |
| parent | 669b0410a23d61417d52ba50bf24a751436c0a21 (diff) | |
| download | meta-xilinx-31d30af45d9ff86e557139a1123238524ddacf33.tar.gz | |
Fix arm cortex r/m profiles
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>
Diffstat (limited to 'meta-xilinx-standalone/recipes-devtools')
| -rw-r--r-- | meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | 14 | ||||
| -rw-r--r-- | meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc | 14 |
2 files changed, 8 insertions, 20 deletions
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend index 75fa6419..0d25e066 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | |||
| @@ -16,22 +16,16 @@ EXTRA_OECONF_append_xilinx-standalone_aarch64_class-target = " \ | |||
| 16 | --with-arch=armv8-a \ | 16 | --with-arch=armv8-a \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | # Both arm and cortexr5 overrides are set w/ r5 | 19 | # Both arm and armrm overrides are set w/ cortex r5 |
| 20 | # So only set rmprofile if r5 is defined. | 20 | # So only set rmprofile if armrm is defined. |
| 21 | ARM_PROFILE = "aprofile" | 21 | ARM_PROFILE = "aprofile" |
| 22 | ARM_PROFILE_cortexr5-zynqmp = "rmprofile" | 22 | ARM_PROFILE_armrm = "rmprofile" |
| 23 | ARM_PROFILE_cortexr5-versal = "rmprofile" | ||
| 24 | 23 | ||
| 25 | EXTRA_OECONF_append_xilinx-standalone_arm_class-target = " \ | 24 | EXTRA_OECONF_append_xilinx-standalone_arm_class-target = " \ |
| 26 | --with-multilib-list=${ARM_PROFILE} \ | 25 | --with-multilib-list=${ARM_PROFILE} \ |
| 27 | " | 26 | " |
| 28 | 27 | ||
| 29 | EXTRA_OECONF_append_xilinx-standalone_cortexr5-versal_class-target = " \ | 28 | EXTRA_OECONF_append_xilinx-standalone_armrm_class-target = " \ |
| 30 | --disable-tls \ | ||
| 31 | --disable-decimal-float \ | ||
| 32 | " | ||
| 33 | |||
| 34 | EXTRA_OECONF_append_xilinx-standalone_cortexr5-versal_class-target = " \ | ||
| 35 | --disable-tls \ | 29 | --disable-tls \ |
| 36 | --disable-decimal-float \ | 30 | --disable-decimal-float \ |
| 37 | " | 31 | " |
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 21d30361..34b5083e 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc | |||
| @@ -16,21 +16,15 @@ EXTRA_OECONF_append_xilinx-standalone_aarch64 = " \ | |||
| 16 | --with-arch=armv8-a \ | 16 | --with-arch=armv8-a \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | # Both arm and cortexr5 overrides are set w/ r5 | 19 | # Both arm and armrm overrides are set w/ cortex r5 |
| 20 | # So only set rmprofile if r5 is defined. | 20 | # So only set rmprofile if armrm is defined. |
| 21 | ARM_PROFILE = "aprofile" | 21 | ARM_PROFILE = "aprofile" |
| 22 | ARM_PROFILE_cortexr5-zynqmp = "rmprofile" | 22 | ARM_PROFILE_armrm = "rmprofile" |
| 23 | ARM_PROFILE_cortexr5-versal = "rmprofile" | ||
| 24 | EXTRA_OECONF_append_xilinx-standalone_arm = " \ | 23 | EXTRA_OECONF_append_xilinx-standalone_arm = " \ |
| 25 | --with-multilib-list=${ARM_PROFILE} \ | 24 | --with-multilib-list=${ARM_PROFILE} \ |
| 26 | " | 25 | " |
| 27 | 26 | ||
| 28 | EXTRA_OECONF_append_xilinx-standalone_cortexr5-zynqmp = " \ | 27 | EXTRA_OECONF_append_xilinx-standalone_armrm = " \ |
| 29 | --disable-tls \ | ||
| 30 | --disable-decimal-float \ | ||
| 31 | " | ||
| 32 | |||
| 33 | EXTRA_OECONF_append_xilinx-standalone_cortexr5-versal = " \ | ||
| 34 | --disable-tls \ | 28 | --disable-tls \ |
| 35 | --disable-decimal-float \ | 29 | --disable-decimal-float \ |
| 36 | " | 30 | " |
