diff options
author | Ross Burton <ross.burton@intel.com> | 2017-03-02 16:22:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:09 +0000 |
commit | ead8a8e9695ea47ecf8c8eba9cd06cc1a12cc289 (patch) | |
tree | dd86413243806ccf80635f8b102777853549fe86 /meta/recipes-devtools/gcc | |
parent | e26bed8493d7b096740cd6fff2e72ab27d48a933 (diff) | |
download | openembedded-core-ead8a8e9695ea47ecf8c8eba9cd06cc1a12cc289.tar.gz openembedded-core-ead8a8e9695ea47ecf8c8eba9cd06cc1a12cc289.tar.bz2 openembedded-core-ead8a8e9695ea47ecf8c8eba9cd06cc1a12cc289.zip |
gcc-source: add comment explaining why a function is Python
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-source.inc | 2 |
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" 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') |