From: Harish Sadineni <harish.sadin...@windriver.com>

gcc testsuite unable to read the value of variable $do-what-limit and causing 
below tcl errors.
ERROR: can't read "do": no such variable
    while executing
"set do_what $do-what-limit"

To fix this, quote the variable using braces, as in ${do-what-limit}.

Signed-off-by: Harish Sadineni <harish.sadin...@windriver.com>
---
 .../gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch 
b/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
index c405d8d484..e4d57c27ef 100644
--- a/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
+++ b/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
@@ -80,8 +80,8 @@ index 9d79b9402e9..e0e5cbb1af8 100644
 +        # Demote run tests to $do-what-limit if set
 +      switch $do_what {
 +          run {
-+              set do_what $do-what-limit
-+              set dg-do-what $do-what-limit
++              set do_what ${do-what-limit}
++              set dg-do-what ${do-what-limit}
 +          }
 +        }
 +    }
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#196998): 
https://lists.openembedded.org/g/openembedded-core/message/196998
Mute This Topic: https://lists.openembedded.org/mt/104888061/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to