diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-02-04 15:06:27 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-06 12:16:34 +0000 |
commit | e45c38203378b4bb99cc077f5dad69914cb18137 (patch) | |
tree | 6ace3b38ec25b956e4b4882f4beb5da88354ac10 /meta/conf | |
parent | 7f150a2514cf6ca69b7cb9b5acbaac86f714b9ec (diff) | |
download | poky-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')
-rw-r--r-- | meta/conf/machine/include/microblaze/feature-microblaze-versions.inc | 4 |
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 | |||
64 | TUNECONFLICTS[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" | 64 | TUNECONFLICTS[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 |
67 | TUNE_CCARGS += "-mcpu=${@microblaze_current_version(d, True)}" | 67 | TUNE_CCARGS += "${@'-mcpu=%s' % (microblaze_current_version(d, True)) if microblaze_current_version(d, True) != '' else ''}" |
68 | MBPKGARCH_VERSION = "-${@microblaze_current_version(d)}" | 68 | MBPKGARCH_VERSION = "${@'-%s' % (microblaze_current_version(d, True)) if microblaze_current_version(d, True) != '' else ''}" |
69 | 69 | ||