summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-03 12:41:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-07 21:57:21 +0000
commit82d294860b07a0726664b1ac1e9db6517ae25fca (patch)
tree4635049f4b47d81c2b7951245ee79f3f2d11f4ad /meta/recipes-devtools/gcc
parentb964727e3a33d2d990891719dda2863198e8f861 (diff)
downloadpoky-82d294860b07a0726664b1ac1e9db6517ae25fca.tar.gz
gcc-source: Drop gengtype manipulation
Whilst we patch gengtype.cc, we don't patch gengtype-lex.cc which would be the file which would trigger regeneration of files. The real bug that was likely the cause for this fix is probably SDE issues with gcc shared workdir so this code can now be dropped. (From OE-Core rev: 7ab82b5db2a737c2a0266280b15d343a27c0e1d5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-source.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc
index 03837f4381..bf33a4b31f 100644
--- a/meta/recipes-devtools/gcc/gcc-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-source.inc
@@ -25,8 +25,6 @@ python do_preconfigure () {
25 import subprocess 25 import subprocess
26 cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize') 26 cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize')
27 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) 27 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
28 # See 0044-gengtypes.patch, we need to regenerate this file
29 bb.utils.remove(d.expand("${S}/gcc/gengtype-lex.cc"))
30 cmd = d.expand("sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure") 28 cmd = d.expand("sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure")
31 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) 29 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
32 30