]> code.ossystems Code Review - openembedded-core.git/commit
distutils/distutils3: do not try to fetch code during do_configure
authorHongxu Jia <hongxu.jia@windriver.com>
Thu, 26 Jul 2018 14:50:21 +0000 (22:50 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jul 2018 11:44:28 +0000 (12:44 +0100)
commit9d556092fcc6f04c487afd126d52935bac133165
tree94cf6235854f20d47e3dd8bc9bbd012d895e151f
parent23d9eba99d1180a0b859aadc23a10b391b8f6440
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>
meta/classes/distutils.bbclass
meta/classes/distutils3.bbclass