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:06 +0000
commit28cf688fe7668e3b73d1690492c535c198a686e6 (patch)
treea64c1306481444bb25e9e67b47321805bca0ac82
parent2bd9d60d0ca6a06b99bb58cd69328e54dfe07ca4 (diff)
downloadpoky-28cf688fe7668e3b73d1690492c535c198a686e6.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: bce5a6269dfed4baa893b70ada71d266b95c9a0b) 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