diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-07-26 22:50:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-30 12:44:28 +0100 |
commit | 9d556092fcc6f04c487afd126d52935bac133165 (patch) | |
tree | 94cf6235854f20d47e3dd8bc9bbd012d895e151f /meta/classes/distutils3.bbclass | |
parent | 23d9eba99d1180a0b859aadc23a10b391b8f6440 (diff) | |
download | openembedded-core-contrib-9d556092fcc6f04c487afd126d52935bac133165.tar.gz |
distutils/distutils3: do not try to fetch code during do_configure
For distutils3, any setup.py invoking will cause setup_requires
argument to trigger a code fetching. Since the following commit
applied in oe-core, code fetching occurs during do_confugire
before the do_compile.
...
b805cef distutils: clean the build tree in do_configure
...
Refer what do_compile did, add var-NO_FETCH_BUILD to do_configure.
Sync with distutils3, add do_configure to distutils also.
[YOCTO #12084]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/distutils3.bbclass')
-rw-r--r-- | meta/classes/distutils3.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/distutils3.bbclass b/meta/classes/distutils3.bbclass index d01d9d78d5f..1d0c54a5136 100644 --- a/meta/classes/distutils3.bbclass +++ b/meta/classes/distutils3.bbclass @@ -12,6 +12,7 @@ DISTUTILS_INSTALL_ARGS ?= "--root=${D} \ distutils3_do_configure() { if [ "${CLEANBROKEN}" != "1" ] ; then + NO_FETCH_BUILD=1 \ ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py clean ${DISTUTILS_BUILD_ARGS} fi } |