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/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
+  $text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
   return $text;
 }
posted @ 2020-05-28 21:31  Jello  阅读(737)  评论(0编辑  收藏  举报