From: Ross Burton Date: Mon, 9 Jul 2018 10:49:03 +0000 (+0100) Subject: distutils3: pass build arguments when doing a clean X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~17393 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9324af88a99eca28b160fa31aa4516fd397e44b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/distutils3.bbclass b/meta/classes/distutils3.bbclass index 99ad64d287d..d4b92a3bb26 100644 --- a/meta/classes/distutils3.bbclass +++ b/meta/classes/distutils3.bbclass @@ -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 }