]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-source: add comment explaining why a function is Python
authorRoss Burton <ross.burton@intel.com>
Thu, 2 Mar 2017 16:22:43 +0000 (16:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Mar 2017 23:18:09 +0000 (23:18 +0000)
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gcc/gcc-source.inc

index fab99f2d1e89aa8a4779b7764672c60772031741..03bab9781513a9b6a36ece56df4dceb54f710975 100644 (file)
@@ -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')