mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
distutils3: pass build arguments when doing a clean
We should pass the build arguments to setup.py when doing a clean, because sometimes the arguments are required for setup.py get started. (From OE-Core rev: f9324af88a99eca28b160fa31aa4516fd397e44b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ab879ec1cf
commit
6fbddd24f4
@@ -10,7 +10,7 @@ DISTUTILS_INSTALL_ARGS ?= "--prefix=${D}/${prefix} \
|
||||
|
||||
distutils3_do_configure() {
|
||||
if [ "${CLEANBROKEN}" != "1" ] ; then
|
||||
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py clean
|
||||
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py clean ${DISTUTILS_BUILD_ARGS}
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user