diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2021-12-18 10:20:35 -0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2022-01-14 11:23:13 -0800 |
commit | 3d23cd2ec09f9950fc36ebf6797cd82968d61568 (patch) | |
tree | 9222bf0cd6d92dd43b58283e3d6ab4a171666e8b /meta-xilinx-standalone/recipes-devtools | |
parent | 84305bdaf64651f5c5f2fd46a807da7d30f9f52c (diff) | |
download | meta-xilinx-3d23cd2ec09f9950fc36ebf6797cd82968d61568.tar.gz |
Remove cortexrm tune, as Yocto Project now has cortex-r tunes
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>
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, 20 insertions, 8 deletions
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend index e12028b4..d2a174d5 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-runtime_%.bbappend | |||
@@ -16,16 +16,22 @@ 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 armrm overrides are set w/ cortex r5 | 19 | # Both arm and armv7r/armv8r overrides are set w/ cortex r5 |
20 | # So only set rmprofile if armrm is defined. | 20 | # So only set rmprofile if armv*r is defined. |
21 | ARM_PROFILE = "aprofile" | 21 | ARM_PROFILE = "aprofile" |
22 | ARM_PROFILE:armrm = "rmprofile" | 22 | ARM_PROFILE:armv7r = "rmprofile" |
23 | ARM_PROFILE:armv8r = "rmprofile" | ||
23 | 24 | ||
24 | EXTRA_OECONF:append:xilinx-standalone:arm:class-target = " \ | 25 | EXTRA_OECONF:append:xilinx-standalone:arm:class-target = " \ |
25 | --with-multilib-list=${ARM_PROFILE} \ | 26 | --with-multilib-list=${ARM_PROFILE} \ |
26 | " | 27 | " |
27 | 28 | ||
28 | EXTRA_OECONF:append:xilinx-standalone:armrm:class-target = " \ | 29 | EXTRA_OECONF:append:xilinx-standalone:armv7r:class-target = " \ |
30 | --disable-tls \ | ||
31 | --disable-decimal-float \ | ||
32 | " | ||
33 | |||
34 | EXTRA_OECONF:append:xilinx-standalone:armv8r:class-target = " \ | ||
29 | --disable-tls \ | 35 | --disable-tls \ |
30 | --disable-decimal-float \ | 36 | --disable-decimal-float \ |
31 | " | 37 | " |
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 1262bd3c..ec76d518 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc +++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-xilinx-standalone.inc | |||
@@ -12,15 +12,21 @@ EXTRA_OECONF:append:xilinx-standalone:aarch64 = " \ | |||
12 | --with-arch=armv8-a \ | 12 | --with-arch=armv8-a \ |
13 | " | 13 | " |
14 | 14 | ||
15 | # Both arm and armrm overrides are set w/ cortex r5 | 15 | # Both arm and armv*r overrides are set w/ cortex r5 |
16 | # So only set rmprofile if armrm is defined. | 16 | # So only set rmprofile if armv*r is defined. |
17 | ARM_PROFILE = "aprofile" | 17 | ARM_PROFILE = "aprofile" |
18 | ARM_PROFILE:armrm = "rmprofile" | 18 | ARM_PROFILE:armv7r = "rmprofile" |
19 | ARM_PROFILE:armv8r = "rmprofile" | ||
19 | EXTRA_OECONF:append:xilinx-standalone:arm = " \ | 20 | EXTRA_OECONF:append:xilinx-standalone:arm = " \ |
20 | --with-multilib-list=${ARM_PROFILE} \ | 21 | --with-multilib-list=${ARM_PROFILE} \ |
21 | " | 22 | " |
22 | 23 | ||
23 | EXTRA_OECONF:append:xilinx-standalone:armrm = " \ | 24 | EXTRA_OECONF:append:xilinx-standalone:armv7r = " \ |
25 | --disable-tls \ | ||
26 | --disable-decimal-float \ | ||
27 | " | ||
28 | |||
29 | EXTRA_OECONF:append:xilinx-standalone:armv8r = " \ | ||
24 | --disable-tls \ | 30 | --disable-tls \ |
25 | --disable-decimal-float \ | 31 | --disable-decimal-float \ |
26 | " | 32 | " |