summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-03-02 16:22:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-04 23:18:19 +0000
commit851bdd2d69ac505fa64044bda84518585ae4200f (patch)
tree4e99f2a641a9d6cca2965c8043fb2f8ebb6a8c29 /meta/recipes-devtools/gcc
parentf1475ed5826cefeff13ad14e19d476acc6f63355 (diff)
downloadpoky-851bdd2d69ac505fa64044bda84518585ae4200f.tar.gz
gcc-source: add comment explaining why a function is Python
(From OE-Core rev: ead8a8e9695ea47ecf8c8eba9cd06cc1a12cc289) Signed-off-by: Ross Burton <ross.burton@intel.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, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc
index fab99f2d1e..03bab97815 100644
--- a/meta/recipes-devtools/gcc/gcc-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-source.inc
@@ -18,6 +18,8 @@ INHIBIT_DEFAULT_DEPS = "1"
18DEPENDS = "" 18DEPENDS = ""
19PACKAGES = "" 19PACKAGES = ""
20 20
21
22# This needs to be Python to avoid lots of shell variables becoming dependencies.
21python do_preconfigure () { 23python do_preconfigure () {
22 import subprocess 24 import subprocess
23 cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize') 25 cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize')