Skip to contentSkip to conversation

gcc-source: add comment explaining why a function is Python

PATCH New Ross Burton 1 participant 1 message Mar 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc-source: add comment explaining why a function is Python

---
 meta/recipes-devtools/gcc/gcc-source.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/gcc/gcc-source.inc +2 -0
index fab99f2..03bab97 100644
@@ -18,6 +18,8 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = ""
 PACKAGES = ""
 
+
+# This needs to be Python to avoid lots of shell variables becoming dependencies.
 python do_preconfigure () {
     import subprocess
     cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize')
Signature · 1 line
2.8.1