mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
setuptools3: clean the build directory in configure
It's not currently possible to set the build tree to be somewhere we control, but we know it will always be in the build directory alongside the setup.py so we can [cleandirs] that. (From OE-Core rev: f3854f4f60801e3b6788bee3a0a1850fc498d536) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
409d49c670
commit
6c0b36feb9
|
|
@ -30,6 +30,9 @@ addtask check_backend after do_patch before do_configure
|
|||
setuptools3_do_configure() {
|
||||
:
|
||||
}
|
||||
# This isn't nice, but is the best solutions to ensure clean builds for now.
|
||||
# https://github.com/pypa/setuptools/issues/4732
|
||||
do_configure[cleandirs] = "${SETUPTOOLS_SETUP_PATH}/build"
|
||||
|
||||
setuptools3_do_compile() {
|
||||
cd ${SETUPTOOLS_SETUP_PATH}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user