yocto编译时报错"Unescaped left brace in regex is illegal here in regex"如何处理?

答: 修改automake的规则

--- a/bin/automake
+++ b/bin/automake
@@ -3878,7 +3878,7 @@ sub substitute_ac_subst_variables_worker
 sub substitute_ac_subst_variables
 {
   my ($text) = @_;
-  $text =~ s/${([^ 	=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
+  $text =~ s/$[{]([^ 	=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
   return $text;
 }
原文地址:https://www.cnblogs.com/dakewei/p/12984108.html