summaryrefslogtreecommitdiffstats
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-24 15:30:01 +0000
commitcb85229e3d8f23a2aaddf360024586cd46a54f79 (patch)
tree6f9acf288b9fe1c16b0c0b46babf2fba83856460
parent6ad627fe87bfb23c1661ef07b45cd5a2b3382a73 (diff)
downloadpoky-cb85229e3d8f23a2aaddf360024586cd46a54f79.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: 8a49626bb32b40a2cf97fd8b80564b494ae38698) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 7ab82b5db2a737c2a0266280b15d343a27c0e1d5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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