diff options
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 4a105540fa..75fb379956 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
| @@ -91,6 +91,8 @@ python do_preconfigure () { | |||
| 91 | import subprocess | 91 | import subprocess |
| 92 | cmd = d.expand('PATH=${PATH} cd ${S} && gnu-configize') | 92 | cmd = d.expand('PATH=${PATH} cd ${S} && gnu-configize') |
| 93 | subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) | 93 | subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) |
| 94 | # See 0044-gengtypes.patch, we need to regenerate this file | ||
| 95 | bb.utils.remove(d.expand("${S}/gcc/gengtype-lex.c")) | ||
| 94 | } | 96 | } |
| 95 | addtask do_preconfigure after do_patch before do_configure | 97 | addtask do_preconfigure after do_patch before do_configure |
| 96 | do_preconfigure[depends] += "gnu-config-native:do_populate_sysroot autoconf-native:do_populate_sysroot" | 98 | do_preconfigure[depends] += "gnu-config-native:do_populate_sysroot autoconf-native:do_populate_sysroot" |
