summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2020-02-04 15:06:27 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-06 12:16:34 +0000
commite45c38203378b4bb99cc077f5dad69914cb18137 (patch)
tree6ace3b38ec25b956e4b4882f4beb5da88354ac10 /meta/conf/machine/include
parent7f150a2514cf6ca69b7cb9b5acbaac86f714b9ec (diff)
downloadpoky-e45c38203378b4bb99cc077f5dad69914cb18137.tar.gz
microblaze tune: Allow no version to be set
We want to allow no version to be configured. This should use the GCC default which is the latest defined version, currently 11.0. (From OE-Core rev: 0d1551dcc169f2d8dbfbe01b4f1f0ae3ce4770ed) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include')
-rw-r--r--meta/conf/machine/include/microblaze/feature-microblaze-versions.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc b/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc
index 3221e2aab7..5c37f49abb 100644
--- a/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc
+++ b/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc
@@ -64,6 +64,6 @@ TUNECONFLICTS[v10.0] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2 v9.3
64TUNECONFLICTS[v11.0] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2 v9.3 v9.4 v9.5 v9.6 v10.0" 64TUNECONFLICTS[v11.0] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2 v9.3 v9.4 v9.5 v9.6 v10.0"
65 65
66# Version flags 66# Version flags
67TUNE_CCARGS += "-mcpu=${@microblaze_current_version(d, True)}" 67TUNE_CCARGS += "${@'-mcpu=%s' % (microblaze_current_version(d, True)) if microblaze_current_version(d, True) != '' else ''}"
68MBPKGARCH_VERSION = "-${@microblaze_current_version(d)}" 68MBPKGARCH_VERSION = "${@'-%s' % (microblaze_current_version(d, True)) if microblaze_current_version(d, True) != '' else ''}"
69 69